[XTension] Resolved: send data to Hubitat

james at sentman.com james at sentman.com
Fri Apr 7 12:18:50 EDT 2023


Sorry I’m late with the response, was out sick again. No covid this time just a regular respiratory bug that set back my angry, vengeful lungs healing from the other by a significant margin. Doing better now though.

The other answer to this is now properly documented on the Hubitat wiki page. Previously I had only mentioned it in the release notes and on the page that describes how to set the status LED’s for the WD200+ kind of dimmers. I’ve now written a bit more about using it where it belongs on the wiki page here:

https://www.machomeautomation.com/doku.php/supported_hardware/hubitat#sending_device_specific_commands <https://www.machomeautomation.com/doku.php/supported_hardware/hubitat#sending_device_specific_commands>

So in your case the command would be something like:

tell xUnit “my HEM devices name” to sendDeviceCommand( “resetMeterAccumulation”)

and then the plugin will handle adding the access_token, api ID, and Device ID into the link when making the request to the Hubitat.

> On Mar 26, 2023, at 10:32 AM, Brian Williams <brwill at me.com> wrote:
> 
> The answer to the question was found at the bottom of the Maker API for the Hubitat.
> 
> http://xxx/apps/api/2/devices/1/resetMeterAccumulation?access_token=xxx <http://xxx/apps/api/2/devices/1/resetMeterAccumulation?access_token=xxx>
> 
> Regards to all,

Thanks,
 James


James Sentman                       http://www.PlanetaryGear.org		http://MacHomeAutomation.com



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://machomeautomation.com/pipermail/xtensionlist_machomeautomation.com/attachments/20230407/56a4ec9e/attachment.htm>


More information about the XtensionList mailing list