Capability for CC refresh and Configuration Parameter Change via message to MQTT #3172
-
I have setup zwave-js-ui as a Zwave provider to OpenHAB. I was intrigued by the S2 security, OTA updates, possible certification, and it seems you have a close relationship with Zooz. I don't have the skills to integrate zwave-js so it is kind of a bodge as I need to interface with two programs. My aim was to keep my rules and other bindings on OpenHAB as I have used that program for some time and have a lot invested. I have all (OpenHAB, MQTT and Zwave-js-ui) running on a 2GB RPi4 using a Zooz 700 controller and 34 devices. At this point I have linked the "zwave" section messages of Zwave-js-ui to the appropriate OpenHAB items. I tried the homeassistant side, but some of the configurations are not supported by jinjava. I can switch (pretty much) between the bindings by stopping/starting the Zwave binding in OpenHAB and enabling/disabling Zwave-js-ui since I'm using the same Z-stick. There are a few quirks I need to investigate As to my questions; in OpenHAB I have a rule to Refresh the meter CC (50) right before midnight to get a daily KWH. Is it possible to publish a message to MQTT that will cause that to happen or can it only be refreshed from Zwave-js-ui? Also in OpenHAB I change the reporting frequency for energy using Configuration CC if the device is running. Again can that be done or triggered via MQTT or just via the UI? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
MQTT is handled by Z-Wave JS UI, transferring this discussion. |
Beta Was this translation helpful? Give feedback.
-
That's quite easy by using MQTT Apis: https://zwave-js.github.io/zwave-js-ui/#/guide/mqtt?id=refreshccvalues |
Beta Was this translation helpful? Give feedback.
-
Home automation is part of my retirement plan to keep learning and after OpenHAB for several years this is pretty new to me. I can't quite follow the documentation. I think the topic (for the cc refresh) should be; On the plus side I have the parameter change working, so that is resolved. One other item however, again related to zwave traffic. Can the "GET" 5 seconds after the SET be changed on a node by node basis? I have that suppressed with OpenHab. EDIT: I go this to pass the JSON validator, but not sure if this is what is needed.
|
Beta Was this translation helpful? Give feedback.
@apella12 I already sent you the link that pointed to the
refreshCCValues
api. That's easier to do, sendCommand api is more generic and allows you to send all supported CC commands but when there is a dedicated api I suggest you to use that instead.Check https://zwave-js.github.io/zwave-js-ui/#/guide/mqtt?id=refreshccvalues
Topic
Payload