• Categories
  • Recent
  • Tags
  • Popular
  • Unsolved
Collapse
Discussion Forum to share and further the development of home control and automation, independent of platforms.

SmartHome Community

Replacing Nest Thermostat but....
DesTD

Hey guys...

We are replacing the heat pump and furnace this week and I will also need to replace my nest thermostat at the same time 'cause Nest is ending the cloud thing end of the month.

Anyway, I'm looking to use the

T6 Pro Z-Wave Programmable Thermostat | Smart Home | Honeywell Home

That's what the heat pump installer recommend BUT, using Nest I was also using it to control the home humidifier using a single wire connected to nest... but no low voltage thermostat is able to do that, I checked all of them...

So I need some help on how I can do that, to connect the home humidifier using zwave also....

General Discussion
Prensence sensor - client - base technologi
E

Hi

We are looking for a solution where we can detect presence of a «thing» (people , car , dog, cat, and more..

We need:

fast detections, 1-3 seconds in range from 0 to 20 m from «base» fysical «client» , chip , transmitter , unit. base , receiver placed at a door, gate, house, etc uniq Identifying wireless

The client:

no need for pressing any thing (no buttons) battery , hoply 2-5 years battery time.

Have someone done anything like this?
What technologi will be best?

General Discussion
Smart bed sensor
C

Hey everyone, I'm currently working on developing a bed sensor that can detect when you're out of bed. It could be used to trigger other smart home gadgets, like lights or blinds, temperature etc.
The sensors are placed under the legs of your bed post. Should look and feel like "smart furniture pads" with size 2 inches in diameter and 1/4 inch thick.
Before we go any further, I'd love to get your thoughts on this - would a bed sensor like this be something you'd find useful? We're still in the early stages of development, so any feedback you have would be greatly appreciated. Thanks in advance!

smart möbeltass.JPG

General Discussion
Block Code (Fenced) formatting issues in new forums
toggledbitsT

@DesT, fenced code blocks display differently after the upgrade.

abc def

The above should display as abc and def on two separate lines. This works. But this fails:

verbose: true config: data: "auto"

The above should display as three lines, verbose: true, config: and data: "auto", but this fails. In order to make it display properly, I now have to open the fenced code block with ```text (specify language, generic text). This displays without highlighting. The words yml and yaml (and the all-caps versions) don't seem to be recognized. I can also use js to get JavaScript highlighting, but this isn't great for YAML. Here's the same block with the language (text) specifier added (no other changes):

verbose: true config: data: "auto"

Sure, we can start adding language specifiers to our new posts, but I suspect if we start digging around old posts, we're going to find a lot of broken display of the fenced code blocks (plain ``` at the start with no language specifier) in the thousands of old posts in these forums, upon which people still rely for answers and information.

Log file snippets also get similarly brutalized:

[###BUILDVERSION###]2023-04-26T19:41:51.683Z <ZWaveJSController:NOTICE> ZWaveJSController#zwavejs added file logger to zwavejs.log [###BUILDVERSION###]2023-04-26T19:41:51.747Z <ZWaveJSController:WARN> zwavejs_capabilities defines x_zwave_device_cfg, which is not consistent with the recommended naming [###BUILDVERSION###]2023-04-26T19:41:51.747Z <ZWaveJSController:WARN> zwavejs_capabilities defines x_zwave_mfg_spec, which is not consistent with the recommended naming [###BUILDVERSION###]2023-04-26T19:41:51.747Z <ZWaveJSController:WARN> zwavejs_capabilities defines x_zwave_device_ver, which is not consistent with the recommended naming [###BUILDVERSION###]2023-04-26T19:41:51.747Z <ZWaveJSController:WARN> zwavejs_capabilities defines x_zwave_values, which is not consistent with the recommended naming [###BUILDVERSION###]2023-04-26T19:41:51.837Z <ZWaveJSController:INFO> ZWaveJSController#zwavejs connecting to ws://192.168.0.10:3000 [###BUILDVERSION###]2023-04-26T19:41:51.874Z <ZWaveJSController:NOTICE> ZWaveJSController#zwavejs connected [###BUILDVERSION###]2023-04-26T19:41:51.874Z <ZWaveJSController:INFO> ZWaveJSController#zwavejs sending connection initialization [###BUILDVERSION###]2023-04-26T19:41:51.931Z <ZWaveJSController:INFO> ZWaveJSController#zwavejs greeting from server: [Object]{ "type": "version", "driverVersion": "10.16.0", "serverVersion": "1.28.0", "homeId": 3631280043, "minSchemaVersion": 0, "maxSchemaVersion": 28 } [###BUILDVERSION###]2023-04-26T19:41:51.932Z <ZWaveJSController:INFO> ZWaveJSController#zwavejs performing initial inventory [###BUILDVERSION###]2023-04-26T19:41:52.325Z <ZWaveJSController:INFO> ZWaveJSController#zwavejs manufacturer-specific data for 134 (AEON Labs) from package ver 22315.1 [###BUILDVERSION###]2023-04-26T19:41:52.328Z <ZWaveJSController:INFO> ZWaveJSController#zwavejs configuring node 1 endpoint 0 (entity "1-0") [###BUILDVERSION###]2023-04-26T19:41:52.339Z <ZWaveJSController:INFO> ZWaveJSController#zwavejs manufacturer-specific data for 543 (Elexa Consumer Products Inc.)

I think this is going to be a problem. Is there a way in NodeBB to configure the default language for fenced code block markdown for the entire forum so that these display more as they did before the upgrade?

EDIT: Examples below of old posts with corrupt formatting now:

https://smarthome.community/topic/1101/dynamic-groups-controller-filter-expressions

https://smarthome.community/post/11362

This last old post is interesting, because the first block displays incorrectly, but the second block is OK. In playing around, there seem to be triggering character sequences, suggesting that the markdown processor is trying to "guess" the language but not getting it right, perhaps:

https://smarthome.community/post/11332

General Discussion
Privacy concerns in Smart homes survey
M

Hi guys,
we are doing a survey in IT privacy and security and we want to analyze the user perception of privacy concerns in smart homes. It will only take 5-10 min to fill out the survey 🙂
i would be very thankful if you could take part and help us to get as many responses as possible.

User Perception of Privacy concerns of actual and potential Home Automatisation users

Thank you!

General Discussion
MIOS - UI5 web login
Black CatB

Can anyone help with the MIOS UI5 weblink? Not the getvera one.
Still running UI5 on a couple of sensors & lights and need to tweak PLEG but for the life of me I can't remember the link to tunnel back to the trusty machine....

General Discussion
Smart devices and mesh
J

The wifi on my router is turned off, and wifi around the house is provided using a mesh - 3 units altogether (one connected directly to the router) that are spread around the house.

I would like to start automating certain tasks around the house and intend to try adding a few smart sockets to my setup.

The mesh system I have supports both 2.4GHz and 5GHz, and does not provide me with the option to control them - i.e. turn one or both on/off, give each a different SSID, etc.

The devices I wish to purchase/use only support 2.4GHz.

Will turning the mesh units off and temporarily turning the 2.4GHz wifi on the router to allow me to set them up be enough? Will I then be able to return to my usual setup and everything will work as it should?

Many thanks in advance

General Discussion
ChatGPT - finally I can now retyre in piece and quite, knowing everting is in goof hands.
A

ChatGPT samples:

Me:

Tell me about an iot program called openLuup.

It:

OpenLuup is an open source home automation system that is built on the VeraLuup platform. It is designed to be easy to install and configure, and provides users with a powerful and versatile way to control their home automation devices. OpenLuup offers a wide range of features, including support for many popular home automation devices, scheduling, scripting, and integration with other services. OpenLuup is designed to be customizable, allowing users to create their own home automation systems. It is an excellent choice for those looking to create their own home automation system without spending a lot of money.

Me:

Write an iot program using openLuup.

It:

--openLuup IoT Program-- -- Initialize Variables -- local device_id = "MyHomeDevice" local temperature_sensor_id = "MyTemperatureSensor" local temperature_threshold = 75 -- Create Devices -- luup.create_device("OpenLuup Temperature Sensor", 0, device_id, "D_GenericSensor1.xml", "I_GenericSensor1.xml", "S_TemperatureSensor1.xml", "") luup.variable_set("urn:upnp-org:serviceId:TemperatureSensor1", "CurrentTemperature", 0, device_id) -- Start Timer -- luup.call_delay("check_temperature", 10, "", false) --Function to Check Temperature-- function check_temperature() local current_temperature = luup.variable_get(temperature_sensor_id, "CurrentTemperature", 0) --Check Temperature Threshold-- if current_temperature >= temperature_threshold then --Send Alert-- luup.call_action("urn:micasaverde-com:serviceId:HomeAutomationGateway1", "SendTextMessage", {PhoneNumber="1234567890", Message="ALERT! Temperature exceeded threshold!"}, 0) end --Reset Timer-- luup.call_delay("check_temperature", 10, "", false) end

Me:

Write an iot program using openLuup.

It:

Write an iot program using openLuup. -- openLuup IOT Program -- -- Variables local lampState = false local lampTime = 0 -- Functions function lampTimer() if lampTime > 0 then lampTime = lampTime - 1 if lampTime == 0 then luup.variable_set('urn:upnp-org:serviceId:SwitchPower1', 'Status', 0, lampDeviceID) lampState = false end end end -- Setup luup.call_delay('lampTimer', 60, 0) -- Main Loop while true do -- Check for motion if luup.variable_get('urn:micasaverde-com:serviceId:MotionSensor1', 'Tripped', motionSensorDeviceID) == '1' then if not lampState then luup.variable_set('urn:upnp-org:serviceId:SwitchPower1', 'Status', 1, lampDeviceID) lampState = true -- Set lamp timer to 5 minutes lampTime = 300 end end luup.sleep(1) end

What??

luup.sleep(1)

Not good - looks like I still have some semblance of a job to fulfill.

Me:

An iot program called openLuup was written by akbooer. Who is akbooer?

It: (note: answer redacted and as I understand it, also incorrect re: AltUI):

akbooer is the pseudonym of the software developer and home automation enthusiast. He is the creator of the openLuup home automation software, which is an open-source version of the Vera home automation system. He is also the creator of the AltUI graphical user interface for openLuup.

Me:

Who created of the AltUI graphical user interface for openLuup.

and

Me:

Who created of the AltUI graphical user interface for the home automation system Vera.

Names two different people - mmmm.

Regardless very impressive - give it a few more years.

General Discussion
A topic for self learning...
CatmanV2C

...which I'd like to do. I know I go about these things all wrong (namely think of something I'd like to do, then try and work out what I need to know) but that's me 🙂

Just looking for some pointers on what I should google for really:

What I'd like is to provide a selection of (basically two word) phases which I can select from randomly (or even pseudo randomly) and pass to Alexa to be spoken. There are 10 such phrases only.

So what should I be reading up on to get me started?

TIA for any guidance

C

General Discussion
Short survey
P

Hi,
I am a student and recently i am working on smart home project and writing a seminar paper about the way users handle and manage IoT devices. I you have 3 min, please fill below survey. Its really short.
Thank you in advance, I really appreciate everyone's help.

General Discussion
LibraSun's Dashboard Apps Roundup 2023
LibraSunL

For what it's worth, I've been putting the finishing touches on a much-updated version of my DP Apps spreadsheet -- specifically intended for HE users, at least for now -- and invite you all to take a gander http://bit.ly/hedb23 at the PDF one-page version.

Corrections and edits welcome (esp. for the HOMEKIT column, just added yesterday)! Thanks in advance, especially because I'm not a big dashboard user myself, but somehow accepted this role as "keeper of the list" as it were.

General Discussion
Separate switching bulb in one ceiling light
P

Hello guys,

I would like to achieve two different things with lights, but I am not sure it could be done. I am starting with smart things, and I am far from any electrician knowledge, wo any help is really appreciated.

I have dumb switches in my hall, controlled from 3 places. I understood that installing one smart module before first switch will make them "hybrid", both smart controlled and dumb controlled.

I would like to buy ceiling light with two bulb sockets. What I would like to achieve is I would like to have one bulb for normal daily usage (lets say cold white full brightness), and second for night time (aprox from 10pm till morning) with some red/orange - minimum brightness.

So question are:

Is there a way to keep both bulbs turning-on separated? So only one will be on during day, and then only second during night?

And could that be done with pressing dumb switch? What would I need to achieve it? (maybe another module into the ceiling lights)

Thank you in advance

General Discussion
How to reset kwh
B

Aften some testing I watt to clear KWH how ?

Regards Bjarne

General Discussion
Need help in finding the right smart switch for my kitchen lights
M

Hello,
I have a kitchen light that can be controlled by two switches, using either to turn it off or on. I have been slowly changing things over to be a smart home but this is the first switch I am attempting to install.
I am in a double wide modular home (mobile) that was built in 1994.
At first I thought I would need a 3 way switch but when taking the normal switches apart I realized that was incorrect because the wiring on my switches are different than anything I could find online.
For one a 3 way smart switch requires 5 wires and there are only 2 wires going into the primary switch with 3 wires going into the secondary switch from the primary switch (at least I think the 3 wires connect the two switches together). Images will be attached of the wiring.
There are two wires (one black and one white) going into the first switch and 3 wires (black, white, and red) going out of that and into the second switch (I assume). The odd thing is the red wire going to the second switch is connected to the white wire going into the first switch and the white wire going into the second switch seems to be a bridge wire or a traveler wire. Not exactly sure. You will see what I mean in the images.
I need to know what kind of smart switch I can use in this set up with one remaining a normal switch.
Note that for some reason the images got switched around when uploading them. The image with 2 wires on one side and 3 on the other is what I think is the primary and the image with just 3 wires is the secondary.
Primary.jpg Secondary.jpg

General Discussion

Welcome. If you’d like to participate in the discussion, rather than just read, then you can join the forum. As a member, you can interact with others here to share your experience and ask the questions you need answered.

For those who registered but didn't received the confirmation email, please send an email to support@smarthome.community with the email you used

Latest version is installed, we are still working on some visual changes.

MQTT – setup and use

Scheduled Pinned Locked Moved General Discussion
107 Posts 10 Posters 3086 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • akbooerA Offline
    akbooerA Offline
    akbooer
    wrote on last edited by
    #1

    General discussion on all things MQTT.

    1 Reply Last reply
    0
  • akbooerA Offline
    akbooerA Offline
    akbooer
    wrote on last edited by
    #2

    Does anyone out there run an MQTT broker on a Synology NAS?

    As part of a general infrastructure revamp, including a new NAS for backup and streaming, I’m about to press the button on a Synology.

    Thinking a bit more broadly, I’d quite like to move some of my HA apps to that platform. I’ve never investigated Docker for hosting apps, but first up, I thought that MQTT might be a good step... especially since it’s supported by Shelly devices.

    The low-end series don’t seem to support virtual machine hosting, although I don’t even know if that’s necessary for MQTT. Advice welcomed.

    1 Reply Last reply
    0
  • toggledbitsT Offline
    toggledbitsT Offline
    toggledbits
    wrote on last edited by
    #3

    I have a DS918+. I don't use MQTT on it, but there is a docker add-on and you can run MQTT in a docker container.

    I found this: https://diyprojects.io/install-mqtt-mosquitto-broker-nas-synology-dsm-6-2-docker/

    Author of Multi-system Reactor and Reactor, DelayLight, Switchboard, and about a dozen other plugins that run on Vera and openLuup.

    1 Reply Last reply
    1
  • K Offline
    K Offline
    kfxo
    wrote on last edited by
    #4

    Which synology NAS are you looking at? I have a DS920+ and run MQTT in a docker container. Works great and easy to set up. Some of the lower end ones may not support docker.

    akbooerA 1 Reply Last reply
    1
  • rafale77R Offline
    rafale77R Offline
    rafale77
    wrote on last edited by rafale77
    #5

    Not all that helpful probably since I am not using Synology but I do run mosquitto on a QNAP NAS inside a VM... the same VM which openLuup is running on.
    I don't think Synology has anything equivalent to QNAP (able to swap the CPU) and is a lot more expensive for the equivalent hardware, granted with maybe a better OS. I have been a long time QNAP user and have been very happy with them.
    It is my NVR/Backup (Time Machine)/Router (pfSense)/Zway-openLuup /HomeAssistant/NAS/download center/Video/Music Streamer etc... It is also the machine on which I have implemented computer vision, having slapped on an nVidia GPU on it and integrated the whole thing into openLuup.
    member @Trexx and I are also on the QNAP forum...

    1 Reply Last reply
    0
  • akbooerA Offline
    akbooerA Offline
    akbooer
    replied to kfxo on last edited by akbooer
    #6

    @kfxo said in MQTT – setup and use:

    Which synology NAS are you looking at?

    DS420+

    I've done a bit more homework and am convinced that this should work. I was earlier considering a DS420j, but don't think that would hack it. Hardware doesn't arrive until next Thursday, allegedly.

    So, Docker is the way to do it? Is that a standard add-on? Your experience will be a very welcome assistance.

    It might be the incentive I need to, finally, understand how some folk have configured openLuup to run in Docker. It would be nice to ditch my ageing BeagleBone Black, which is actually the core of my HA system.

    K 1 Reply Last reply
    0
  • K Offline
    K Offline
    kfxo
    replied to akbooer on last edited by
    #7

    @akbooer said in MQTT – setup and use:

    DS420+

    I've done a bit more homework and am convinced that this should work. I was earlier considering a DS420j, but don't think that would hack it. Hardware doesn't arrive until next Thursday, allegedly.

    Yeah I think that will work. Might want to consider adding ram out of the box. I bumped mine from 4 to 8, not sure what the 420+ offers.

    So, Docker is the way to do it? Is that a standard add-on? Your experience will be a very welcome assistance.

    Synology offers Docker in their package center and provides pretty good documentation on their support pages on how to use it. The internet offers tons of guides for setting up different docker containers specifically on a synology. You want to make sure you set up the volumes in each docker container correctly to map to shared volumes on your synology so your data is persistent.

    1 Reply Last reply
    0
  • therealdbT Offline
    therealdbT Offline
    therealdb
    wrote on last edited by
    #8

    I've built my own MQTT broker and I'm running it on my mini-PC (Intel i3 nuc) with openLuup, my own framework of things and much more. Once you'll start MQTT, you'll never look back.

    Latest addition was a nice Windows app that it's routing all the messages from the Vera/other system to my own desktop. Since I can subscribe for topics, I'm publishing a special one for alerts from the Vera (via an HTTP call) and then dispatching it, via Telegram and to my own desktop PC. Very easy to do, very powerful, thanks to the pub/sub architecture of MQTT.

    --
    On a mission to automate everything.

    My MS Reactor contrib
    My Luup Plug-ins

    akbooerA 1 Reply Last reply
    0
  • akbooerA Offline
    akbooerA Offline
    akbooer
    replied to therealdb on last edited by
    #9

    @therealdb said in MQTT – setup and use:

    I've built my own MQTT broker

    Yes, I wanted to try that myself, just to understand it more fully, but OTOH i'm also trying to move to more off-the-shelf things (except, of course, with openLuup!) Any further details on how youdid that (not Lua, I suppose...)

    therealdbT 1 Reply Last reply
    0
  • therealdbT Offline
    therealdbT Offline
    therealdb
    replied to akbooer on last edited by
    #10

    @akbooer yep, I've used C# and it's running on Linux with .net 5.

    I used a pre made library (MQTTNET) and it's very similar to the bridge I posted this summer, bridging mqtt to openluup. It's my Orchestrator and I've since added new things, like opensprinkler, miflora and fullykiosk.

    Ie, I'm using one shelly to detect if it's raining and automatically update the value in opensprinkler via http.

    --
    On a mission to automate everything.

    My MS Reactor contrib
    My Luup Plug-ins

    1 Reply Last reply
    0
  • CrilleC Offline
    CrilleC Offline
    Crille
    wrote on last edited by
    #11

    I have about 15 sonoff devices running Tasmota and ever since I flashed my first one years ago I planned to use MQTT but never convinced myself to get started as it works really good with Lua http calls and later the virtual http plugin and internal Tasmota rules for sensor reporting.
    Now that I moved to openLuup and it has MQTT capabilities I really want to get it going but don't know how/where to start.
    Anyone up for a short getting started with openLuup MQTT and Tasmota? That would be very much appreciated!

    therealdbT CrilleC 2 Replies Last reply
    0
  • therealdbT Offline
    therealdbT Offline
    therealdb
    replied to Crille on last edited by
    #12

    @crille right now only shellies are automagically discovered and supported, but you could just create devices and map variables by hand. I was thinking of adding support for them as well, starting from @akbooer Shelly support.

    --
    On a mission to automate everything.

    My MS Reactor contrib
    My Luup Plug-ins

    1 Reply Last reply
    0
  • akbooerA Offline
    akbooerA Offline
    akbooer
    wrote on last edited by
    #13

    I could certainly think of adding a Tasmota bridge. What do I need to know about them...?

    1 Reply Last reply
    0
  • akbooerA Offline
    akbooerA Offline
    akbooer
    wrote on last edited by
    #14

    I’ve just been looking here...

    MQTT - Tasmota

    and, I have to say (unless I’m missing something) it seems to be a bit of a free-for-all compared to the rather well thought-out topic structure of Shellies. I suppose that this is more or less inevitable for open source stuff.

    therealdbT 1 Reply Last reply
    0
  • therealdbT Offline
    therealdbT Offline
    therealdb
    replied to akbooer on last edited by
    #15

    @akbooer yes, but announcements messages are rich and well structured. I could post something, since I have different sensor attached. I’ve also looked at the Shelly bridge, and I could send other samples (Shelly 1, Shelly 1 with temperature sensor, Shelly plug, Shelly button, Shelly uni, Shelly em) if necessary.

    --
    On a mission to automate everything.

    My MS Reactor contrib
    My Luup Plug-ins

    akbooerA 1 Reply Last reply
    0
  • akbooerA Offline
    akbooerA Offline
    akbooer
    replied to therealdb on last edited by
    #16

    @therealdb said in MQTT – setup and use:

    I could send other samples (Shelly 1, Shelly 1 with temperature sensor, Shelly plug, Shelly button, Shelly uni, Shelly em) if necessary.

    Shellies, I find, are really well documented here:

    Welcome to Shelly Technical Documentation | Shelly Technical Documentation

    so no need of other examples (you might tell me your priorities.)

    For Tasmota, though, I failed to get that level of understanding from their docs, so an example might help.

    B 1 Reply Last reply
    1
  • akbooerA Offline
    akbooerA Offline
    akbooer
    wrote on last edited by
    #17

    @therealdb

    I've just added Shelly bridge support for Shelly 1/1PM (I think) in development v21.3.28.

    If you're able to check, that would be great.

    If it's all OK, then I'll move on to the others.

    therealdbT 2 Replies Last reply
    0
  • therealdbT Offline
    therealdbT Offline
    therealdb
    replied to akbooer on last edited by therealdb
    #18

    @akbooer I'll try it later tomorrow, since this is a family movie night. meanwhile, here's a couple of messages from my broker:

    tasmota/discovery/id
    
    config = {"ip":"192.168.1.50","dn":"tasmota-dehum","fn":["tasmota-dehum",null,null,null,null,null,null,null],"hn":"tasmota-dehum","mac":"XXX","md":"Sonoff TH","ty":0,"if":0,"ofln":"Offline","onln":"Online","state":["OFF","ON","TOGGLE","HOLD"],"sw":"9.3.1","t":"tasmota-dehum","ft":"%prefix%/%topic%/","tp":["cmnd","stat","tele"],"rl":[1,0,0,0,0,0,0,0],"swc":[-1,-1,-1,-1,-1,-1,-1,-1],"swn":[null,null,null,null,null,null,null,null],"btn":[0,0,0,0,0,0,0,0],"so":{"4":0,"11":0,"13":0,"17":0,"20":0,"30":0,"68":0,"73":0,"82":0,"114":0,"117":0},"lk":1,"lt_st":0,"sho":[0,0,0,0],"ver":1}
    
    sensors = {"sn":{"Time":"2021-03-26T23:48:03","SI7021":{"Temperature":15.8,"Humidity":73.4,"DewPoint":11.0},"TempUnit":"C"},"ver":1}
    
    --
    
    config = {"ip":"192.168.1.53","dn":"tasmota-watertank","fn":["tasmota-watertank",null,null,null,null,null,null,null],"hn":"tasmota-watertank","mac":"ECFABC5F0A29","md":"Generic","ty":0,"if":0,"ofln":"Offline","onln":"Online","state":["OFF","ON","TOGGLE","HOLD"],"sw":"9.3.1","t":"tasmota-watertank","ft":"%prefix%/%topic%/","tp":["cmnd","stat","tele"],"rl":[0,0,0,0,0,0,0,0],"swc":[-1,-1,-1,-1,-1,-1,-1,-1],"swn":[null,null,null,null,null,null,null,null],"btn":[0,0,0,0,0,0,0,0],"so":{"4":0,"11":0,"13":0,"17":0,"20":0,"30":0,"68":0,"73":0,"82":0,"114":0,"117":0},"lk":1,"lt_st":0,"sho":[0,0,0,0],"ver":1}
    
    sensors = {"sn":{"Time":"2021-03-15T13:47:43","DS18B20":{"Id":"3C01D6070BEA","Temperature":15.3},"SR04":{"Distance":58.351},"TempUnit":"C"},"ver":1}
    
    --
    
    sensors = {"sn":{"Time":"2021-03-28T09:21:22","BME280":{"Temperature":20.2,"Humidity":50.0,"DewPoint":9.4,"Pressure":967.1},"TSL2561":{"Illuminance":113.900,"IR":2135,"Broadband":6591},"PressureUnit":"hPa","TempUnit":"C"},"ver":1}
    
    --
    
    sensors = {"sn":{"Time":"2021-03-28T09:21:22","BME280":{"Temperature":20.2,"Humidity":50.0,"DewPoint":9.4,"Pressure":967.1},"TSL2561":{"Illuminance":113.900,"IR":2135,"Broadband":6591},"PressureUnit":"hPa","TempUnit":"C"},"ver":1}
    

    Status are published under tele/devicename

    STATE = {"Time":"2021-03-28T19:17:42","Uptime":"13T06:19:46","UptimeSec":1145986,"Heap":23,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":84,"POWER":"OFF","Wifi":{"AP":1,"SSId":"XXX","BSSId":"XXX","Channel":12,"RSSI":60,"Signal":-70,"LinkCount":3,"Downtime":"0T00:01:32"}}
    
    
    SENSORS = {"Time":"2021-03-28T19:17:42","DS18B20":{"Id":"3C01D607ACFE","Temperature":13.8},"TempUnit":"C"}
    
    

    The format of sensors is very similar to discovery, but more compact.

    There's also tele/device/LWT (Online, Offline) to handle "Last Will and Testament". I'm using it to notify of device being dropped out of the network via CommFailure and similar.

    I'm sure @ArcherS has many more sensors than me.

    --
    On a mission to automate everything.

    My MS Reactor contrib
    My Luup Plug-ins

    A 1 Reply Last reply
    1
  • A Offline
    A Offline
    ArcherS
    replied to therealdb on last edited by
    #19

    I have some 10 Tasmota devices with a number of different sensors reporting temperature etc. It is very easy to combine the sensors on one device, the information for all attached sensors are included in one SENSOR message for that Tasmota device.

    Some data from them:

    AM2301 (temp, humidity and dew point temp)
    tele/tasmota_E0395C/SENSOR = {"Time":"2021-03-28T19:56:35","AM2301":{"Temperature":5.7,"Humidity":64.6,"DewPoint":-0.5},"TempUnit":"C"}

    DS18B20 (temp) Four DS18B20 connected to one Tasmota
    tele/tasmota_2ECD0B/SENSOR = {"Time":"2021-03-28T19:49:06","DS18B20-1":{"Id":"000005B4E469","Temperature":5.8},"DS18B20-2":{"Id":"3C01D60701B8","Temperature":17.9},"DS18B20-3":{"Id":"3C01D6074A47","Temperature":20.3},"DS18B20-4":{"Id":"3C01D6079246","Temperature":9.3},"AM2301":{"Temperature":5.4,"Humidity":75.0,"DewPoint":1.3},"TempUnit":"C"}

    and in a device that also has an AM2301, since it is only one DS18B20 it does not get the "-nn" suffix
    tele/tasmota_845CBC/SENSOR = {"Time":"2021-03-28T20:11:35","DS18B20":{"Id":"000005B5E8ED","Temperature":12.0},"AM2301":{"Temperature":11.2,"Humidity":40.6,"DewPoint":-1.7},"TempUnit":"C"}

    BME280 ( temp, humidity, dew pont temp, air pressure) and BH1750 (light sensor in lux) in one device
    tele/tasmota_81FF56/SENSOR = {"Time":"2021-03-28T19:49:35","BME280":{"Temperature":6.6,"Humidity":65.4,"DewPoint":0.5,"Pressure":1009.4},"BH1750":{"Illuminance":0},"PressureUnit":"hPa","TempUnit":"C"}

    BLE sensors (temp, humidity, dew point temp) below three Xiaomi sensors identified by their MAC
    tele/tasmota_F181DC/SENSOR = {"Time":"2021-03-28T20:01:38","ATC-f159bf":{"Temperature":21.5,"Humidity":48.0,"DewPoint":10.0,"Battery":69,"RSSI":-80},"ATC-9446bf":{"Temperature":22.6,"Humidity":42.0,"DewPoint":9.0,"Battery":83,"RSSI":-89},"ATC-6d5d44":{"Temperature":14.3,"Humidity":46.0,"DewPoint":2.8,"Battery":63,"RSSI":-84},"TempUnit":"C"}

    MH-Z19B C02 meter (CO2 and temp) below in a device that also has a AM2301
    tele/tasmota_7EC9D9/SENSOR = {"Time":"2021-03-28T20:03:49","AM2301":{"Temperature":20.7,"Humidity":48.1,"DewPoint":9.3},"MHZ19B":{"Model":"B","CarbonDioxide":655,"Temperature":22.0},"TempUnit":"C"}

    A 1 Reply Last reply
    1
  • B Offline
    B Offline
    Buxton
    replied to akbooer on last edited by
    #20

    @akbooer Tasmota energy sensor

    {
      "Time": "2021-03-28T21:51:01",
      "ENERGY": {
        "TotalStartTime": "2020-06-07T00:10:43",
        "Total": 2356.063,
        "Yesterday": 7.056,
        "Today": 6.459,
        "Period": 24,
        "Power": 285,
        "ApparentPower": 302,
        "ReactivePower": 99,
        "Factor": 0.95,
        "Voltage": 123,
        "Current": 2.453
      }
    }
    
    1 Reply Last reply
    1

Recent Topics

  • G
    OWM error
  • G
    Host time is wrong
  • G
    [SOLVED-ish] New iblind and zwaveJScontroller/MSR not communicating
  • akbooerA
    RulesEngine
  • therealdbT
    Replacing Nest Thermostat but....
  • H
    Connect small (torch-sized) light bulb to smart home network
  • toggledbitsT
    Reactor (Multi-System/Multi-Hub) Announcements
  • E
    Prensence sensor - client - base technologi
  • A
    Truncated web pages using wireguard over long distances
  • toggledbitsT
    Migration question
  • M
    docker synology import
  • therealdbT
    Smart bed sensor
Powered by NodeBB | Contributors
Hosted freely by 10RUPTiV - Solutions Technologiques | Contact us
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Unsolved
  • Login

  • Don't have an account? Register

  • Login or register to search.