EnOcean Devices Are Not Working
If EnOcean devices are not working, then follow the steps below to troubleshoot the problem.
Verify that the EnOcean driver is enabled on the EnOcean Configuration page.
Verify that the EnOcean service is running by issuing the following console/SSH command (depends on SmartServer version). For SmartServer 4.0 and higher, look for enocean.
SmartServer release 4.0 and higher
smartserverctl statusIn most cases, if you can add a device and the datapoints are not showing up properly, then it is likely that there is a problem with the .eno file.
Verify that you see datapoint updates from the EnOcean device.
Example SSH/Console command to see any datapoint from an EnOcean device
mosquitto_sub -v -t "glp/0/+/ev/data" | grep /dev/enoceanExample SSH/Console command to see same datapoint from a single device
mosquitto_sub -v -t glp/0/+/ev/data/# | grep "dev/enocean/4/if/Temperature/0"Example SSH/console command to see "temperature" datapoint updates
mosquitto_sub -v -t glp/0/+/ev/data/# | grep "temperature/value"If you are not seeing datapoints updates, or they are sporadic, verify that the CMS Datapoint Properties widget shows that event-driven monitoring is enabled.
If so, then check MQTT to see if the EnOcean driver also shows that the event-driven monitoring is enabled.
Example SSH/Console command to check if event driven enabled
mosquitto_sub -v -t "glp/0/+/fb/dev/enocean/+/if" | grep '"event":'Look for "event": in red. True indicates that event-driven monitoring is enabled and false indicates that event-driven monitoring is disabled. Either de-provision the device and re-provision it using the CMS Devices widget, or in the CMS Datapoint Properties, select polling and then select event-driven, and then click the update button.
View SmartServer logs for EnOcean devices operations.
View real-time data using the following command:
SmartServer release 4.0 and higher
sudo tail -f /var/log/syslog | grep "enocean"View all EnOcean log entires using the following command:
SmartServer release 4.0 and higher
sudo grep "enocean" /var/log/syslog
EnOcean datapoint values are pushed from the EnOcean device. To get all updates, set up event-driven updates in the CMS Datapoint Properties widget.