An MQTT config example to Newbies from a Newbie...

autolog
Posts: 4077
Joined: Tue Sep 10, 2013 3:07 am
Location: West Sussex, UK
Contact:

Re: An MQTT config example to Newbies from a Newbie...

Post by autolog »

You have a comma after the 192 - is that your issue?
Seeker
Posts: 441
Joined: Mon Aug 05, 2013 5:08 am

Re: An MQTT config example to Newbies from a Newbie...

Post by Seeker »

sorry, typo in post. settings seem correct.
Attachments
mqtt3.png
mqtt3.png (66.1 KiB) Viewed 8714 times
mqtt2.png
mqtt2.png (99.81 KiB) Viewed 8714 times
mqtt1.png
mqtt1.png (149.94 KiB) Viewed 8714 times
VincentS
Posts: 45
Joined: Thu Dec 11, 2014 4:12 am

Re: An MQTT config example to Newbies from a Newbie...

Post by VincentS »

Hi Thanks for this wonderful explanation.

On question though I have a simular setup where I use Tasmota sensors to monitor If my bed is occupied. All of this is working fine thanks to the shimms plugin. But one value I cannot get right and that is the online status as all the other values are sensor values in JSON and the online/offline status is just raw payload.

How do I het the payload of topic tele/bed_links/LWT into the state column

Kind regards,
Vincent
Attachments
LWT State.png
LWT State.png (318.46 KiB) Viewed 7409 times
User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: An MQTT config example to Newbies from a Newbie...

Post by FlyingDiver »

You'll probably need to create a second Shim device just for that state value. The complexity of trying to modify Shims to fold all that into one device is just not worth the effort.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: An MQTT config example to Newbies from a Newbie...

Post by FlyingDiver »

Well, I take that back. I did enable rolling all payloads from one base topic into a single device. It's called an "aggregate" device and it's configured in the Connector plugin.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
VincentS
Posts: 45
Joined: Thu Dec 11, 2014 4:12 am

Re: An MQTT config example to Newbies from a Newbie...

Post by VincentS »

FlyingDiver wrote:Well, I take that back. I did enable rolling all payloads from one base topic into a single device. It's called an "aggregate" device and it's configured in the Connector plugin.
Thanks Joe, I'll play with that..
User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: An MQTT config example to Newbies from a Newbie...

Post by FlyingDiver »

Moved other user question to new thread.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Locked

Return to “MQTT”