Hubitat Plugin Beta
Re: Hubitat Plugin Beta
Not yet. I'm going with the Homie thing until tomorrow. If that fails, I'm installing HomeAssistant next Monday in order to integrate it to the HE App and Driver, so I can see from MQTT Explorer what is published from HomeAssistant MQTT and then captured by the xAPPO/MQTT App.
Re: Hubitat Plugin Beta
Well it is all 'over my head' but just amazed at what homie adds to MQTT when I looked at https://homieiot.github.io
CliveS
Indigo 2024.2.1 : macOS Sequoia 15.6.1 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB SSD
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer
Indigo 2024.2.1 : macOS Sequoia 15.6.1 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB SSD
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer
Re: Hubitat Plugin Beta
Tell me about it! I will have to order some new expresso capsules in short order. My head is spinning with all the trial and error I'm going over trying to publish the correct Homie schema so the stubborn xAPPO/MQTT app can find the needed info...
The screen capture below shows the contents of my single device attempts. It's a z-wave Honeywell z3005 dimmer, which I named "DimmerEscritorio" for my tests.
I tried to mimic info from post 2 and a few below by another user trying to achieve the same thing, which was answered by the xAPPO/MQTT author saying the schema looked good... But it still doesn't work on my case.
PS: Before anyone ask, I have no idea what to put in $implementation, so I just tried something similar to what the author of post 2 did in his case.... (I'm mostly in trial and error mode now, remember?)
The screen capture below shows the contents of my single device attempts. It's a z-wave Honeywell z3005 dimmer, which I named "DimmerEscritorio" for my tests.
I tried to mimic info from post 2 and a few below by another user trying to achieve the same thing, which was answered by the xAPPO/MQTT author saying the schema looked good... But it still doesn't work on my case.
PS: Before anyone ask, I have no idea what to put in $implementation, so I just tried something similar to what the author of post 2 did in his case.... (I'm mostly in trial and error mode now, remember?)
- Attachments
-
- Screen Shot 2022-01-22 at 11.36.51.png (63.58 KiB) Viewed 2719 times
Last edited by cesarvog on Sat Jan 22, 2022 8:42 am, edited 1 time in total.
Re: Hubitat Plugin Beta
I am also trying but not yet succeeding:This isn't being discovered. Trial and error investigation continues. 
Code: Select all
homie
indigo_devices
Shomie = 3.0.1
$name = Indigo
$nodes = indigo-device-12345678
$state = ready
indigo-device-12345678
$datatype = boolean
$name = Indigo Device 12345678
$properties = onoff
$settable = true
onoff = false
set = falseRe: Hubitat Plugin Beta
Are you clicking the HE Discovery button in the MQTT App?
Re: Hubitat Plugin Beta
I am afraid that I am going to give up on discovery as I can't get it to easily work.
I might pursue the virtual device approach which I think will be easier to manage from my plugin's point of view but I have more urgent Indigo tasks to pursue at the moment.
Personally, I am not a fan of Hubitat's dashboard / alternatives, but each to their own.
For the most part, I just use my Hubitat C7 to be able to define Zigbee devices and special Z-Wave devices (e.g. Ring Alarm keypad) and expose these to Indigo for Indigo to control and display.
I might pursue the virtual device approach which I think will be easier to manage from my plugin's point of view but I have more urgent Indigo tasks to pursue at the moment.
Personally, I am not a fan of Hubitat's dashboard / alternatives, but each to their own.
For the most part, I just use my Hubitat C7 to be able to define Zigbee devices and special Z-Wave devices (e.g. Ring Alarm keypad) and expose these to Indigo for Indigo to control and display.
Re: Hubitat Plugin Beta
Yes, from there I click on Discovery Protocols and then on Homie, which brings up the screen I attached a few posts above.autolog wrote:Are you clicking the HE Discovery button in the MQTT App?
No problem. I will keep on trying, but I believe I won't be succeed by simple trial and error. My next step is to send a message to the author of xATTO/MQTT App and Driver.autolog wrote:I am afraid that I am going to give up on discovery as I can't get it to easily work.
I might pursue the virtual device approach which I think will be easier to manage from my plugin's point of view but I have more urgent Indigo tasks to pursue at the moment.
Personally, I am not a fan of Hubitat's dashboard / alternatives, but each to their own.![]()
For the most part, I just use my Hubitat C7 to be able to define Zigbee devices and special Z-Wave devices (e.g. Ring Alarm keypad) and expose these to Indigo for Indigo to control and display.
Re: Hubitat Plugin Beta
Good Morning and Good News!!!
Trial and error proved helpful.
I have now found out why the Indigo MQTT published device was not being matched by the xAPPO/MQTT App Discovery Into HE. It's most likely a bug I intend to report to Kevin (the author) after I clear out the last issue I'm facing.
The xAPPO/MQTT App and driver now **automatically** create a virtual device in Hubitat Elevation, so I'm sure I can put to rest my previous doubts wether it would even be capable of doing what I intend it to do. The following screen grabs show my current status.
But not everything is roses yet: Even though the xAPPO/MQTT App and Driver now catch the Indigo MQTT published device, it still cannot control it, that is, I cannot turn the discovered dimmer on/off, nor set it's brightnessLevel from the HE side be reflected on Indigo. The other way around it works as expected, meaning that I can turn on/off, set the brightnessLevel from Indigo and it correctly shows on the Virtual Device properties pages as well as on HE Dashboard.
It's probably something I need to change in the topic structure, but I don't intend to loose my Sunday on it, as Yesterday was a real marathon trying to make this thing work.
Now that I'm on the right track, I'm going to spend most of the day enjoying my swimming pool as it's Summer here and the sky is clear.
Screen grab from Hubitat Elevation MQTT App: Screen grab from MQTT Explorer, depicting the topic structure as published by Joe's Indigo MQTT plugin: Screen grab from HE devices, showing the virtual device auto-created by xAPPO/MQTT App and Driver below the iPhone device previously existing in HE: Screen grab from HE devices, showing the virtual device auto-created by xAPPO/MQTT App and Driver (1 of 3): Screen grab from HE devices, showing the virtual device auto-created by xAPPO/MQTT App and Driver (2 of 3): Screen grab from HE devices, showing the virtual device auto-created by xAPPO/MQTT App and Driver (3 of 3):
Trial and error proved helpful.
I have now found out why the Indigo MQTT published device was not being matched by the xAPPO/MQTT App Discovery Into HE. It's most likely a bug I intend to report to Kevin (the author) after I clear out the last issue I'm facing.
The xAPPO/MQTT App and driver now **automatically** create a virtual device in Hubitat Elevation, so I'm sure I can put to rest my previous doubts wether it would even be capable of doing what I intend it to do. The following screen grabs show my current status.
But not everything is roses yet: Even though the xAPPO/MQTT App and Driver now catch the Indigo MQTT published device, it still cannot control it, that is, I cannot turn the discovered dimmer on/off, nor set it's brightnessLevel from the HE side be reflected on Indigo. The other way around it works as expected, meaning that I can turn on/off, set the brightnessLevel from Indigo and it correctly shows on the Virtual Device properties pages as well as on HE Dashboard.
It's probably something I need to change in the topic structure, but I don't intend to loose my Sunday on it, as Yesterday was a real marathon trying to make this thing work.
Now that I'm on the right track, I'm going to spend most of the day enjoying my swimming pool as it's Summer here and the sky is clear.
Screen grab from Hubitat Elevation MQTT App: Screen grab from MQTT Explorer, depicting the topic structure as published by Joe's Indigo MQTT plugin: Screen grab from HE devices, showing the virtual device auto-created by xAPPO/MQTT App and Driver below the iPhone device previously existing in HE: Screen grab from HE devices, showing the virtual device auto-created by xAPPO/MQTT App and Driver (1 of 3): Screen grab from HE devices, showing the virtual device auto-created by xAPPO/MQTT App and Driver (2 of 3): Screen grab from HE devices, showing the virtual device auto-created by xAPPO/MQTT App and Driver (3 of 3):
Last edited by cesarvog on Sun Jan 23, 2022 9:13 am, edited 5 times in total.
Re: Hubitat Plugin Beta
That looks very promising, perseverance has paid off!!!
I know Kevin is vey responsive to feedback as I understand he modified parts of the App when Jon was writing the plugin.
Congrats so far, well done.
I know Kevin is vey responsive to feedback as I understand he modified parts of the App when Jon was writing the plugin.
Congrats so far, well done.
CliveS
Indigo 2024.2.1 : macOS Sequoia 15.6.1 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB SSD
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer
Indigo 2024.2.1 : macOS Sequoia 15.6.1 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB SSD
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer
Re: Hubitat Plugin Beta
Thanks Clive,
Love you quote, by the way. Had to put some glasses on before I could read it, but at 59yrs old, it's part of the game.
Love you quote, by the way. Had to put some glasses on before I could read it, but at 59yrs old, it's part of the game.
Re: Hubitat Plugin Beta
Well at 66 I can't even see it anymorecesarvog wrote:Thanks Clive,
Love you quote, by the way. Had to put some glasses on before I could read it, but at 59yrs old, it's part of the game.
Can you put the Indigo setting you used to get that so I can play with the Sharptools dashboard using Indigo devices (not sure about Sharptools at present but a few other dashboards to consider)
CliveS
Indigo 2024.2.1 : macOS Sequoia 15.6.1 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB SSD
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer
Indigo 2024.2.1 : macOS Sequoia 15.6.1 : Mac Mini M2 : 8‑core CPU and 10‑core GPU : 8 GB : 256GB SSD
The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer
Re: Hubitat Plugin Beta
Hi @CliveS,
You mean, the triggers I used in Indigo to create the Homie topic schema for the dimmer?
It's a LOT of triggers... I have now sent a message to Joe (the author of MQTT Connector and Shims plugins on Indigo side), so he can tell me if there are easier/more efficient ways of doing it, as I can't shake the feeling that I'm doing it wrong, because a single device structure needed 30+ triggers and that can't be right...
As soon as Joe answers my other post in his section of this forum, I will update here with extra information.
Stay tuned.
Cesar
You mean, the triggers I used in Indigo to create the Homie topic schema for the dimmer?
It's a LOT of triggers... I have now sent a message to Joe (the author of MQTT Connector and Shims plugins on Indigo side), so he can tell me if there are easier/more efficient ways of doing it, as I can't shake the feeling that I'm doing it wrong, because a single device structure needed 30+ triggers and that can't be right...
As soon as Joe answers my other post in his section of this forum, I will update here with extra information.
Stay tuned.
Cesar
Re: Hubitat Plugin Beta
Yes indeed, well done Cesar!
I have copied your MQTT Explorer definitions but I must be doing something wrong as my device still isn't discovered.
Here are my definitions: This is the result of doing Run homie discovery now: I notice in your MQTT Explorer definitions that you set for the dim a value = false as opposed to an integer. Could that be causing your set problem?
Once I have got the correct format to work then I should be able to fairly easily modify my plugin to publish Indigo devices to be discovered by this process.
I have copied your MQTT Explorer definitions but I must be doing something wrong as my device still isn't discovered.
Here are my definitions: This is the result of doing Run homie discovery now: I notice in your MQTT Explorer definitions that you set for the dim a value = false as opposed to an integer. Could that be causing your set problem?
Once I have got the correct format to work then I should be able to fairly easily modify my plugin to publish Indigo devices to be discovered by this process.
Re: Hubitat Plugin Beta
If you set anything on the following EVERYTHING (all capabilities....) button, please unset it and set individually in each particular device type buttons below it.
My integration only started working AFTER, on a hunch, I decided to remove everything from it. I think it's a bug that somehow reflects on the other side of the integration, as my understanding is that this section would only refer to SENDING HE devices, but there must be some shared code, I believe.
My integration only started working AFTER, on a hunch, I decided to remove everything from it. I think it's a bug that somehow reflects on the other side of the integration, as my understanding is that this section would only refer to SENDING HE devices, but there must be some shared code, I believe.
- Attachments
-
- Screen Shot 2022-01-23 at 12.41.43.png (43.1 KiB) Viewed 2648 times
Last edited by cesarvog on Sun Jan 23, 2022 9:46 am, edited 1 time in total.
Re: Hubitat Plugin Beta
Hi Ceasr,
At your convenience and after your swimming
, could you post an image of your MQTT Child filtered Event log for when you do a discovery, just so I can see if it is similar or I have missed something. Thanks.
If I can get this to work, then I think that in my plugin, it would be a small matter to define a new Hubitat device type and set up a the edit device configuration to select theIndigo devices to be published to Hubitat so that they can be discovered and then updated when states change. That would avoid having to setup loads of triggers.
At your convenience and after your swimming
If I can get this to work, then I think that in my plugin, it would be a small matter to define a new Hubitat device type and set up a the edit device configuration to select theIndigo devices to be published to Hubitat so that they can be discovered and then updated when states change. That would avoid having to setup loads of triggers.