use modified StreamClientImpl to fix an issue where sonos devices weren't discovered in a basic network setup
reverted to the original 1.X implementation, but fixed it
Missing Radio Thermostat Device IDS
Initial commit of node deserialisation
Update serialisation code.
This modification moves the 'restore from file' code from the node advancer, into the controller. Instead of creating a new node, then restoring and then having to read all the information out of the file and put it into the node, and restore all the command classes and their data, this instead reads the node file directly and uses the class created by the XML deserialiser which contains all the data that was originally serialised. This avoids having to add getter/setter methods for every new class, or bit of information that gets added to classes, or nodes in future.
Once the data is deserialised from disk, some information needs to be added to the command classes and nodes - i.e. links to the controller, and to the node for a command class.
** Needs further testing **
Ensure name/location get maintained even if the XML is considered invalid.
Remove version from XML folder.
Fix bug restoring name/location
Don't persist the node stage - this will always be reset on startup anyway.
Initialise endpoint command classes
Initial modification to set default endpoint to 0.
This allows distinction over the multi-instance commands. Endpoints always start from 1, so a value of 0 can now be defined to use the non multi-instance version.
https://github.com/openhab/openhab/issues/1545, https://github.com/openhab/openhab/pull/1544,https://github.com/openhab/openhab/issues/1461
Manual merge from druciak@eecd7c3
https://github.com/openhab/openhab/issues/1545
Added new constructor for ZWaveEvent that uses default endpoint.
Changed all events that used a default endpoint to use the new constructor.
Update Lighting messages to support Contact ValueSelector as existing code for contact items appears to be unreachable.
Merge branch 'master' of https://github.com/openhab/openhab into zwave-endpoint_default_to_zero
fixed #1772,#1774: refactored CULNetworkHandlerImpl,CULSerialHandlerImpl and AbstractCULHandler to avoid copy/paste + provied correct logic for CULNetworkHandlerImpl.
CULHandler now exits cleanly if connection Errors occur
Changed alive validation check to one minute.
another bug in credit report: regex also covered FS20 requests!
Add more serial parameters: datasize, parity ad stop bit.
In openhab.cfg, config line can look like:
modbus:serial.slave1.connection=/dev/ttyUSB0:19200:8:even:1

Signed-off-by: Lionel Beard <beard.lionel@gmail.com>
Change lastUpdated to lastSent and lastReceived
lastUpdated wasn't used, and wasn't very useful as it was changed each time anything in the node changed (including internal information). lastSent and lastReceived allows determination of the health of the node by knowing when it was last heard, and when we last sent data to it.