EnOcean Devices Are Not Working

EnOcean Devices Are Not Working

If EnOcean devices are not working, then follow the steps below to troubleshoot the problem.

  1. Verify that the EnOcean driver is enabled on the  EnOcean Configuration page.

  2. 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 status

     

  3.  In 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.

  4. 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/enocean

    Example 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"

     

  5. 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.

    1. 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. 

  6. View SmartServer logs for EnOcean devices operations. 

    1. View real-time data using the following command:

      SmartServer release 4.0 and higher

      sudo tail -f /var/log/syslog | grep "enocean"
    2. View all EnOcean log entires using the following command:

      SmartServer release 4.0 and higher

      sudo grep "enocean" /var/log/syslog

       

  7. EnOcean datapoint values are pushed from the EnOcean device. To get all updates, set up event-driven updates in the CMS Datapoint Properties widget.