Categories
VSCP

Ending Windows support for the #VSCP daemon?

20160415_142722

VSCP & Friends has been available on the Windows platform since the beginning of time.   But nowadays most of our users is on Linux/Unix, using PC’s or devices like Raspberry Pi.  Well we been there also since the beginning of time but now it’s maybe time to concentrate and put all our efforts on these important platforms. With Linux support on Windows this may not be giving up Windows after all.

But,

maybe there are reasons why we should not do this. Reasons we did not think of ourselves.  If you think there are, speak out now. It’s still time to rethink this.  And we listen to our users. Always.

 

Categories
VSCP VSCP UX

Version 1.8.0 of the #VSCP #HTML5 user interface library

start | VSCP Specification

https://github.com/grodansparadis/vscp-ux/releases/tag/v1.8.0

Demo server is here http://demo.vscp.org:8080/index.html  Please note! This is a development server that runs head code and it may not be stable all the time. Many users and developers runs (sometime) strange and buggy code against this server. Please download the stable version of VSCP & Friends and set up your own system if you need a stable system.

Special thanks to Andreas Merkle for doing work on this system.

Categories
VSCP

Using the Level II lm-sensors driver #VSCP

start | VSCP Specification

http://www.vscp.org/wiki/doku.php/howto/driver_level2_lmsensors

 

Categories
VSCP

Hmmmm…. #VSCP #IoT #m2m

….what is this!?

Screenshot from 2016-05-03 14:09:49

Categories
VSCP

VSCP & Friends 1.12.3 Magnesium released #VSCP #IoT #m2m

vscp_new_v2

Available for download on Source Forge and on GitHub.

General
  – Several endian conversions fixed.
  – Fixed long timeout when connecting to remote host (reported by some as hang).
 
VSCP Works
  – Fixed problems with default window sizes.
  – Float/double abstraction values are now handled correctly.
  – Fixed problem with write of bit 8 of class mask/filter when a decision matrix row
     was written.
  – VSCP Works configuration window now remembers selections after an update.
  – Shortcuts is now available that move to specific pages in the configuration
of vscp works by right clicking the register grid.
  – Added new menu in VSCP Works config (Transport) with shortcuts for fast moves.
  – Abstraction edit is now moved to a menu item that is made visible by right clicking a cell and
     which works much the same as for registers.
  – It is now possible to edit in place for abstractions also in VSCP Works.

 

Enjoy!
/Ake
akhe@grodansparadis.com

Categories
VSCP

#VSCP #OPENHAB and #IOT searches over time

or the story about staying on the job and not give up…  😉

VSCP

Screenshot from 2016-04-20 09:24:55

OpenHAB

Screenshot from 2016-04-20 09:25:32

IoT

Screenshot from 2016-04-20 09:26:18

 

Categories
VSCP

Running VSCP & Friends Linux version on Windows #VSCP #IoT #M2M

linux

Running VSCP & Friends Linux version on Windows. Yes it sound strange but this is actually possible now in windows 10 build 14316 which have Ubuntu Linux incorporated into the system.  No it’s not a virtual machine its the real thing. Life just got easier for developers of cross platform tools.

Well how to use this new stuff?

First you need to switch your Windows 10 system to the Fast Ring. You do this by going “System Settings > Advanced Windows Update options” and selecting your Insider Preview update setting to the far right. This sets your Windows 10 update to the the Fast Ring.

Now you must turn on Developer Mode via “Settings > Update & security > For developers“. Search for “Windows Features” and choose “Turn Windows features on or off” and enable Windows Subsystem for Linux (Beta).

Restart the machine.

Open up a console and type “bash“.  Well you are done. After some work by the machine  you can install the VSCP & Friends system as on any other Linux machine.

Categories
VSCP

VSCP & Friends version 1.12.0

vscp_new_v2

This is release 1.12.0 of VSCP & Friends

From now on releases will come closer on all platforms. There will not be as much fuzz about therm as before.

Download here or here.

This release may not be the choice for a critical installation as it contains many changes from the previous release.

Enjoy
/Ake

Categories
VSCP

VSCP Firmware release 1.6

vscp_new_v2

A new VSCP firmware is released as version 1.6.0.

The main difference in this release is that the segment controller check has been removed.  This means that the node control that was present in register 131/0x83  is now replaced by the error counter.  Thus read the current error counter value from this register.  Reset the error counter by writing anything to the register.

With the same segment check removed a node that is moved from one segment to another now must be manually initialized after it has been started up.

Previously one control byte was used to check for initialized EEPROM.  Now this is two bytes. The callbacks for this purpose has therefore been changed.

///////////////////////////////////////////////////////////////////////////////
// setVSCPControlByte
//

void vscp_setControlByte( uint8_t idx, uint8_t ctrl )
{
    if ( idx > 1 ) return;
    eeprom_write( VSCP_EEPROM_CONTROL1 + idx, ctrl );
}

///////////////////////////////////////////////////////////////////////////////
// getVSCPControlByte
//

uint8_t vscp_getControlByte( uint8_t idx )
{
    if ( idx > 1 ) return 0;
    return eeprom_read( VSCP_EEPROM_CONTROL1 + idx );
}

Another callback has been added that do the actual initialization of the EEPROM

///////////////////////////////////////////////////////////////////////////////
// vscp_init_pstorage
//
void vscp_init_pstorage( void )
{
    init_app_eeprom();
}

An addition is added if you define

VSCP_FIRMWARE_ENABLE_ERROR_REPORTING

which will give access to a method for VSCP standard error reporting

/*!
    Send error event (CLASS=508).
    http://www.vscp.org/docs/vscpspec/doku.php?id=class1.error
    idx can be used to identify the internal part ("submodule") that was the
    origin of the error. Both zone and sub zone are always set to zero.
    @param type This is the VSCP type
    @param idx Index to identify possible sub module. Normally set to zero.
    @return True if event was sent.
*/
#ifdef VSCP_FIRMWARE_ENABLE_ERROR_REPORTING
uint8_t vscp_sendErrorEvent( uint8_t type, uint8_t idx );
#endif

Just remember that over CAN it is no use in reporting communication problems as doing so will most likely make them worse.

Another addition is added if you define

VSCP_FIRMWARE_ENABLE_LOGGING

which gives access to a method for standard VSCP logging.

/*!
    Send log event (CLASS=509). 
    http://www.vscp.org/docs/vscpspec/doku.php?id=class1.log
    For loging first send Type = 2(0x01) Log Start then logging events and when 
    log is closed send Type = 3 (0x03) Log Stop. To log several things use a 
    unique if for each and open/close each.  
    @param type VSCP logevent type.
    @param id Identifier for the logging channel.
    @param level Loglevel for this log event.
    @param idx index for multiframe log event starting at zero.
    @param pData Log data (Allways 5 bytes).
    @return TRUE if event was sent.
 */
#ifdef VSCP_FIRMWARE_ENABLE_LOGGING
uint8_t vscp_sendLogEvent( uint8_t type, 
                            uint8_t id, 
                            uint8_t level, 
                            uint8_t idx, 
                            uint8_t data );
#endif

As always the Paris project and the Kelvin NTC10K project can be used as reference code.

The release is available here.

Enjoy!
/Ake

Categories
VSCP

Hedmans #IoT protocol validator

internet-of-things-concept-illustration

This is simple. Every protocol that is entering the scene today is dubbed an IoT protocol. Hmmm… are they really… or are they transport mechanisms (which we already have plenty of) or is they just useless vertical solutions (well not useless for the company who made it).  And hey… it does not have anything to do with Internet or wireless. It’s about connecting things.

So

1.) Does the protocol connect things together? If so, item under test is a candidate for an IoT protocol.

2.) Ask ten people in ten different areas of the earth without contact with each other to send a measurement of there current temperature over the protocol. If the receiver on the other end know what he/she receives from all ten the protocol  is a candidate for an IoT protocol.

3.) Ask the ten people to send an ON command and then an OFF command to turn on/off a lamp at the receiving end.  If all actually does this the protocol is a candidate for an  IoT protocol.

So 1+2+3 and success on all, yes and hurray, it’s an Iot protocol. If not it may still be a useful protocol  for other things.

Åke Hedman
Paradise of the Frog AB