connects fhem to MYSENSORS.
A single MYSENSORS device can serve multiple MYSENSORS_DEVICE clients.
Each MYSENSORS_DEVICE represents a mysensors node.
define <name> MYSENSORS <serial device>|<ip:port>
Specifies the MYSENSORS device.
connect
set <name> connect
(re-)connects the MYSENSORS-device to the MYSENSORS-gateway
Can also be used to reload the OTA_firmwareConfig file after editing.
disconnect
set <name> disconnect
disconnects the MYSENSORS-device from the MYSENSORS-gateway
inclusion-mode
set <name> inclusion-mode on|off
turns the gateways inclusion-mode on or off
autocreate
attr <name> autocreate
enables auto-creation of MYSENSOR_DEVICE-devices on receival of presentation-messages
requestAck
attr <name> requestAck
request acknowledge from nodes.
if set the Readings of nodes are updated not before requested acknowledge is received
if not set the Readings of nodes are updated immediatly (not awaiting the acknowledge).
May also be configured for individual nodes if not set for gateway.
first-sensorid
attr <name> first-sensorid <number < 255>
configures the lowest node-id assigned to a mysensor-node on request (defaults to 20)
OTA_firmwareConfig
attr <name> OTA_firmwareConfig <filename>
specifies a configuration file for the FOTA (firmware over the air - wireless programming of the nodes) configuration. It must be stored in the folder FHEM/firmware. The format of the configuration file is the following (csv):
#Type,Name,Version,File,Comments
10,Blink,1,Blink.hex,blinking example
The meaning of the columns is the following:
Type
Name
Version
File
Comments
Note: Firmware config file by default only is read at startup. If you change it later, just issue a connect command to update also Internal values.