How to configure everything
Re: How to configure everything
Can you post a screen grab of MQTT Explorer showing the homie node with all sub-nodes expanded?
I will then more likley be able to see why the device isn't being detected.
I am in the eprocess of doing some major design changes to the plugin. I am also working with Kevin (Hubitat MQTT App author) to get the plugin and his MQTT App working better together. More detailed documentation will follow once that is complete.
I will then more likley be able to see why the device isn't being detected.
I am in the eprocess of doing some major design changes to the plugin. I am also working with Kevin (Hubitat MQTT App author) to get the plugin and his MQTT App working better together. More detailed documentation will follow once that is complete.
Re: How to configure everything
Here a screenshot, but I did not expanded all the nodes (do not fit in the screen
)
If you need something in particular let me know.
If you need something in particular let me know.
- Attachments
-
- mqtt-exp.png (390.88 KiB) Viewed 4490 times
Re: How to configure everything
Hi Marco,
Support for colour bulbs is in the process of being further refined and will be availble in the next major release.
I was actually replying to the @mclass post above as I need to figure out why @mclass can't see the device.MarcoGT wrote:Here a screenshot, but I did not expanded all the nodes (do not fit in the screen)
If you need something in particular let me know.
Support for colour bulbs is in the process of being further refined and will be availble in the next major release.
Re: How to configure everything
Color bulbs are working nicely to be honest. 
What would it be nice is the ramp control
What would it be nice is the ramp control
Re: How to configure everything
Wow! That was quick, thanks!
Thanks again for being so responsive.
mclass
Screen grab attached. I have not fully expanded the Sonos device, as it's the Aeotec Smart 6 test device ("Aeotec") I've been concentrating on.Can you post a screen grab of MQTT Explorer showing the homie node with all sub-nodes expanded?
I will then more likley be able to see why the device isn't being detected.
Thanks again for being so responsive.
mclass
- Attachments
-
- Screenshot 2022-02-09 at 10.02.02 pm.png (58.41 KiB) Viewed 4465 times
Re: How to configure everything
Hi @mclass,
Thanks for the screengrab
Looking at the $properties, they seem to have a space after the commas which is what I think is throwing the plugin?
The easiest thing to do is to:
Thanks for the screengrab
Looking at the $properties, they seem to have a space after the commas which is what I think is throwing the plugin?
The easiest thing to do is to:
- Update the $properties in MQTT Explorer by publishing a topic of homie/qualia/aeotec/$properties with a payload of measure-voltage,measure-power,measure-energy,onoff - Note the removal of dim which isn't appropriate for an outlet
- Once you have done, reload the plugin and try again.
Re: How to configure everything
There are no discernible (to me!) spaces after the commas. However I did what you suggested to no availLooking at the $properties, they seem to have a space after the commas which is what I think is throwing the plugin?
This is the log with debug logging on during restart of the plugin:
Code: Select all
================================================== Initialising Hubitat Plugin ===================================================
Plugin Name: Hubitat Bridge
Plugin Version: 0.5.14
Plugin ID: com.autologplugin.indigoplugin.hubitat
Indigo Version: 2021.2.0
Indigo License: ActiveSubscription
Indigo API Version: 2.6
Python Version: 2.7.16 (default, Jan 26 2020, 23:50:38) [GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.31)]
Mac OS Version: 10.13.6
==================================================================================================================================
Hubitat Bridge Logging to Indigo Event Log at the 'Debugging' level
Hubitat Bridge Logging to Plugin Event Log at the 'Debugging' level
Hubitat Bridge Warning MQTT Topic Filtering active for the following Hubitat device(s):
Hubitat Device: 'Qualia | hub'
Started plugin "Hubitat Bridge 0.5.14"
Hubitat Bridge Debug getDeviceStateList invoked for 'Qualia'
Hubitat Bridge Debug State List [Amended]: States : (list)
Item : (dict)
Disabled : false (bool)
Key : heartbeat (string)
StateLabel : MQTT Heartbeat (string)
TriggerLabel : MQTT Heartbeat changed (string)
Type : 100 (integer)
Item : (dict)
Disabled : false (bool)
Key : lastPayload (string)
StateLabel : Last Payload (string)
TriggerLabel : Last Payload changed (string)
Type : 150 (integer)
Item : (dict)
Disabled : false (bool)
Key : lastTopic (string)
StateLabel : Last Topic (string)
TriggerLabel : Last Topic changed (string)
Type : 150 (integer)
Item : (dict)
Disabled : false (bool)
Key : status (string)
StateLabel : Status (string)
TriggerLabel : Status changed (string)
Type : 150 (integer)
Hubitat Bridge Debug MQTT CLIENT ID: HOMIE-INDIGO-HUBITAT-QUALIA
Hubitat Bridge Debug Debugging Hub Handler Thread
Hubitat Bridge Device 'Qualia' Started
Hubitat Bridge Debug Hub Handler Thread initialised for 'Qualia'
Hubitat Bridge Debug HE-HUB Details:/n{39: 1343082442, 12: {}, 16: <threading._Event object at 0x107bb7950>, 18: u'10.10.15.207', 19: 1883, 20: None, 21: u'HOMIE-INDIGO-HUBITAT-QUALIA', 22: False, 23: 0, 24: u'homie/Qualia/#', 25: <ThreadHubHandler(Thread-1, started 123145371770880)>, 31: []}
Hubitat Bridge Debug Autolog Hubitat Hub Qualia now started
Any suggestions at this stage would be welcome!!
mclass
- Attachments
-
- Screen Shot 2
- Screen Shot 2022-02-10 at 9.43.33 am.png (56.98 KiB) Viewed 4431 times
-
- Screen Shot 1
- Screen Shot 2022-02-10 at 9.41.15 am.png (49.87 KiB) Viewed 4431 times
Re: How to configure everything
Change the device driver in Hubitat to Generic zwave switch or smart switch, tick the boxes in MQTT app and see if that works as I cannot understand why you are getting a “$type = shade “ for a smart switch. It should be “$type = sensor”.
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: How to configure everything
Hi @mclass,
I have spent sometime this afternoon trying to recreate and resolve the issue you are experiencing, so far without success.
I setup topics in MQTT Explorer, like this: I setup all topics as retained with a QOS of 1.
I then setup a Hub based on qualia and then went to add a device and can do so successfully: So, your definitions seem to work on my system.
I am beginning to clutch at straws, but here are some things I would check:
I am currently doing some major changes to the plugin but once these are relatively stable, I can PM you a link to the revised plugin for you to try. It will be a few days yet before I finish these changes.
I have spent sometime this afternoon trying to recreate and resolve the issue you are experiencing, so far without success.
I setup topics in MQTT Explorer, like this: I setup all topics as retained with a QOS of 1.
I then setup a Hub based on qualia and then went to add a device and can do so successfully: So, your definitions seem to work on my system.
I am beginning to clutch at straws, but here are some things I would check:
- make sure the qualia name in the Indigo Hub settings is in lowercase
- make sure that topics listed in MQTT Explorer show as retained (see image). You can normally test this by quitting MQTT Explorer and then launching MQTT Explorer again to check everything is still there and hasn't disappeared.
- In HE make sure that in the MQTT App > MQTT Publish Formats that Complete & compliant homie topics is on
I am currently doing some major changes to the plugin but once these are relatively stable, I can PM you a link to the revised plugin for you to try. It will be a few days yet before I finish these changes.
Re: How to configure everything
Bingo!!
Many thanks for your patience and tolerance - and even more thanks for the plugin!!
mclass
It was that "undocumented feature" requiring a lower case "q" that trapped me - together with a minimal understanding of MQTT!!make sure the qualia name in the Indigo Hub settings is in lowercase
Many thanks for your patience and tolerance - and even more thanks for the plugin!!
mclass
Re: How to configure everything
Very good news to hear you have got it working.
I will update the next version of the plugin to ensure lower-case is enforced.
It's something I should have done for the current version.
I will update the next version of the plugin to ensure lower-case is enforced.
It's something I should have done for the current version.
Re: How to configure everything
Hey Hubitat users, advice requested. It feels like something is wrong with the MQTT Broker or the Hubitat MQTT App, but I can't get a connection between the two platforms. Appreciate any thoughts, thanks.
- Installed Hubitat Hub - check
- installed (and enabled) MQTT app and drivers - check
- installed Mosquitto via Brew on Indigo MacOS platform - check
- tested Mosquitto MQTT messaging (locally) - check
- modified Mosquitto.conf - listener 1883 0.0.0.0 [and] allow_anonymous true - check
- disabled firewall on Indigo MacOS - check
- installed Hubitat Indigo plugin - check
- created Mosquitto Broker in Indigo, and status is connected - check
- created Hubitat Hub in Indigo, and status is disconnected - fail
- Installed Hubitat Hub - check
- installed (and enabled) MQTT app and drivers - check
- installed Mosquitto via Brew on Indigo MacOS platform - check
- tested Mosquitto MQTT messaging (locally) - check
- modified Mosquitto.conf - listener 1883 0.0.0.0 [and] allow_anonymous true - check
- disabled firewall on Indigo MacOS - check
- installed Hubitat Indigo plugin - check
- created Mosquitto Broker in Indigo, and status is connected - check
- created Hubitat Hub in Indigo, and status is disconnected - fail
- Attachments
-
- Screen Shot 2022-06-16 at 2.59.08 PM.png (201.96 KiB) Viewed 3986 times
-
- Screen Shot 2022-06-16 at 2.53.15 PM.png (21.09 KiB) Viewed 3986 times
-
- Screen Shot 2022-06-16 at 2.52.34 PM.png (93.11 KiB) Viewed 3986 times
-
- Screen Shot 2022-06-16 at 2.52.50 PM.png (43.58 KiB) Viewed 3986 times
Last edited by 7rdr7 on Fri Jun 17, 2022 5:50 am, edited 1 time in total.
Re: How to configure everything
Hi @7rdr7,
I think I have information overload!
Can I suggest that you use the App MQTT Explorer to see what is being published to the MQTT broker.
Note that you can also get this App from the Mac App Store.
Have you selected the devices to publish in the MQTT App.
What version of the Hubitat MQTT App are you running?
I think I have information overload!
Can I suggest that you use the App MQTT Explorer to see what is being published to the MQTT broker.
Note that you can also get this App from the Mac App Store.
Have you selected the devices to publish in the MQTT App.
What version of the Hubitat MQTT App are you running?
Re: How to configure everything
Apologies for the overload
I figured that I was just missing something obvious, and I was......
Opened MQTT Explorer and noticed immediately that the MQTT app had converted underscores to dashes..... change them all to dashes, and everything works.
Thanks Jon!
I figured that I was just missing something obvious, and I was......
Opened MQTT Explorer and noticed immediately that the MQTT app had converted underscores to dashes..... change them all to dashes, and everything works.
Thanks Jon!
Re: How to configure everything
No problem with theoverload - better to have too much info, than too little.
Pleased to hear it is now working OK for you.
Pleased to hear it is now working OK for you.