Announcement

Collapse
No announcement yet.

SonOff basic WiFi seeing Sensors with mcsMQTT

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Got going again with Atom/PlatformIO. Rebuild of incompatible packages was needed.

    I was able to to read DS18b20 with the compile of 18x20 which just fit under the wire at 498K. When I select only GPIO14 as my sensor it works. When I select door sensors too then the temperature does not report. I just need to dig into my hack of the door sensors to see what needs to be altered.

    While not yet ready to post update, the good news is that I am able to get the 1-wire working.

    Comment


      #17
      mcsTasmota.zip has been updated with a C version included. This is 5.9.13 with multiple temp sensors. It is right at 500K.

      The JSON reported is three levels deep. mcsMQTT has provisions for only two so I will need to update the plugin. I will keep it at max eight levels, but with five for topic and three for JSON vs. the six/two now.

      published topic with two sensors. One in ice and one at ambient.

      Code:
      sonoff/SENSOR={"Time":"2018-06-22T21:29:21", "Switch2":"On", "DS18x20":{"DS1":{"Type":"DS18B20", "Address":"28FF8A8B601703B6", "Temperature":32.9}, "DS2":{"Type":"DS18B20", "Address":"28FFD7086017039E", "Temperature":73.4}}, "TempUnit":"F"}

      Comment


        #18
        Great news Michael.

        I was going to add a second DS18B20 sensor to play with.

        I see above now that you are showing the MAC address of the sensors too.

        One other thing I see now with the 5.9.13 B version is that I have to go to the GUI about three times before it comes up. Don't know why it appears to be a bit slow to respond.

        Upgraded this morning to the C version.

        Program Version 5.9.13c
        Build Date & Time 2018-06-22T22:27:54
        Core/SDK Version 2_4_1/2.2.1(cfd48f3)

        Note that I am playing with only one DS18B20 temperature sensor. (not two at this time).

        Left the DS18B20 plugged in to GPIO4 and using a 10K resistor between VCC and DQ. For a bit saw a 185 degrees temperature then it went away.

        OK so I moved the DS18B20 sensor to GPIO14 and using a 10K resistor between VCC and DQ. I also disabled GPIO1, GPIO3 and GPIO4.

        03:21:37 MQT: GarageDoor/SENSOR = {"Time":"2018-06-23T03:21:37", "DS18x20":{"DS1":{"Type":"DS18S20", "Address":"10A52F47000800CB", "Temperature":185.0}}, "TempUnit":"F"}

        I removed the 10k resistor and do not see anything.

        Reconnected it to GPIO4 with a 10k resistor and without 10k resistor and disabled GPIO1, GPIO3 and GPIO14.

        No sensor seen.

        Went back to using GPIO14 with a 10k resistor and disabled GPIO1, GPIO3 and GPIO4 and then enabled GPIO1 and GPIO3 (door open / closed).

        03:21:37 MQT: GarageDoor/SENSOR = {"Time":"2018-06-23T03:21:37", "DS18x20":{"DS1":{"Type":"DS18S20", "Address":"10A52F47000800CB", "Temperature":185.0}}, "TempUnit":"F"}

        It is a bit slower navigating. Noticed too above that my DS18B20 sensor is showing up as a DS18S20 sensor.

        Like your testing if I connect the temperature sensor to GPIO4 I get no readings of the DS18B20.

        I have read too that the GPIO4 port by default has a pull up SMD resistor already on the SonOff board which I am looking for. It is present on a different SonOFF board.

        [ATTACH]69503[/ATTACH][ATTACH]69496[/ATTACH]

        So adding another DS18B20 temperature sensor.

        Question: I have a few of the older AAG temperature sensors and have removed a few from the cases.

        I soldered a VCC, DQ and Ground wire for testing on one and just noticed another tiny Maxim chip on the back side of the board.

        I am currently using these for my new Node Red OWFS 1-wire set up (mixed HB, Midon and AAG sensor boards here)

        This Maxim chip looks like a 6 pin IC with 3 pins connected to the PC board.

        Here is a picture of it.

        Do you know what the chip is Michael?

        It is so small that I cannot tell.

        Thinking it might be for voltage control?

        The old AAG temperature or temperature combo sensors are working great using two wires only (parasitic mode).

        Looks like a 1990's Maxim chip. Pin #2,4,5,6 doesn't appear connected to anything.

        Looking to build a new case using a 3D printer for these old AAG sensor boards as well as all of the old Midon boards I have.

        [ATTACH]69497[/ATTACH]
        Last edited by Pete; June 23, 2018, 11:18 AM.
        - Pete

        Auto mator
        Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
        Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
        HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

        HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
        HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

        X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

        Comment


          #19
          HomeSeer Version: HS3 Pro Edition 3.0.0.368, Operating System: Microsoft Windows 10 - Home, Number of Devices: 373, Number of Events: 666, Enabled Plug-Ins
          2.0.83.0: BLRF, 2.0.10.0: BLUSBUIRT, 3.0.0.75: HSTouch Server, 3.0.0.58: mcsXap, 3.0.0.11: NetCAM, 3.0.0.36: X10, 3.0.1.25: Z-Wave,Alexa,HomeKit

          Comment


            #20
            @Steve,

            Yeah here have been using 1-Wire stuff since the 1990's and have a collection of:

            1 - original AAG temperature and temperature humidity sensors - the humidity sensors here are very small and compact and continue to work today.

            2 - original Midon 1-wire sensor boards with DS18B20's on them plus traces for more 1-wire devices.

            3 - original Hobby Boards temperature sensors, combo temperature-humidity sensors and combo temperature, humidity and light sensor boards.

            4 - some place have a bunch of DS18B20 sensors loosey goosey in a tiny bag.

            5 - cabled 1-wire probes like the ones you mention that SonOff sells that I purchased a few years back.

            I have no need to purchase any more sensors here. (IE: the second floor - every room (bedrooms and bathrooms and hallway and attic) is wired today with a combo 1-wire temperature and humidity sensor going to the ZNet RPi using Node Red OWFS / Mosquitto these days).

            For outside using regular wired to 9097 / Node Red / OWFS stuff - adding sensors to outdoor AC compressor next. (no SonOFFs).

            For this SonOff basic Wifi module looking to install and configure.

            1 - push button for GDO
            2 - two door sensors (open and close)
            3 - one 1-wire temperature sensor for Garage
            4 - one tiny PIR sensor for Garage (note I already have a regular wired PIR in the garage but it really doesn't work well when it is hot in the garage).

            That said also have other wired sensors in the garage and CCTV and RFID tags on the cars plus one combo temperature humidity sensor (wired).

            Everything is ready in the garage except that I have to climb a ladder to install the SonOff module and I want to make sure that it is working before I install it over the GDO(s).

            Next project, next SonOff basic will try the water meter counter and the add of the 1-wire sensor mounted right on the copper water pipe to see the temperature of the water as it comes in to the house.

            In a quickie summary have or will have relating to 1-wire sensors....

            1 - RPi in basement doing Node Red / OWFS / 1-Wire / Mosquitto doing main floor and outside
            2 - RPi in attic doing Node Red / OWFS / 1-wire / Mosquitto doing 2nd floor and attic

            #1 and #2 are replacing multiple 1-wire networks (xAP) which utilized 3 Temp08's and 1 Temp05 and 1 9097 that are (were) cat5e wired.

            3 - SonOff's will all have at least one temperature sensor or one combo sensor (if it works).

            Additionally here have Leviton OmniPro temperature sensors inside and outside of the house (and combo sensors) wired to the alarm panel.
            Last edited by Pete; June 23, 2018, 11:40 AM.
            - Pete

            Auto mator
            Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
            Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
            HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

            HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
            HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

            X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

            Comment


              #21
              [ATTACH]69504[/ATTACH]
              - Pete

              Auto mator
              Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
              Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
              HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

              HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
              HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

              X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

              Comment


                #22
                Just a quickie follow up to current release 13C.

                I think I mentioned earlier that build appears a bit slower. Lost the DS18B20 connected to GPIO14 this afternoon.

                10:42:18 MQT: GarageDoor/STATE = {"Time":"2018-06-23T10:42:18", "Uptime":0 0, "Vcc":3.499, "Wifi":{"AP":2, "SSId":"ICS-0", "RSSI":100
                10:47:42 MQT: GarageDoor/SENSOR = {"Time":"2018-06-23T10:47:42", "Switch1":"On", "Switch2":"On"}
                - Pete

                Auto mator
                Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
                Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
                HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

                HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
                HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

                X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

                Comment


                  #23
                  I suspect it is due to the timing delays that are associated with 1-wire protocol response provisions. Since there is just one CPU that needs to manage both the WiFi and the application there is greater potential for WiFi management suffering. I do not have any instrumentation to asses this, but just reflecting upon the code.

                  Comment


                    #24
                    Yes ...just checked testing both DS18B20's together and each one separate and they no longer are showing up...IE: working at around 1200c local time and now 1439c local time and not working any more...

                    When testing the Tasmota V5.14 multisensor bin never really left it on for more than 30 minutes ....

                    11:36:31 MQT: GarageDoor1/STATE = {"Time":"2018-06-23T11:36:31", "Uptime":0 0, "Vcc":3.511, "Wifi":{"AP":2, "SSId":"ICS-0", "RSSI":100,
                    11:36:31 MQT: GarageDoor1/SENSOR = {"Time":"2018-06-23T11:36:31", "Switch1":"On", "Switch2":"On"}
                    - Pete

                    Auto mator
                    Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
                    Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
                    HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

                    HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
                    HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

                    X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

                    Comment


                      #25
                      Installed:

                      1 - Sonoff-Tasmota 5.14.0-minimal by Theo Arends

                      2 - Sonoff-Tasmota all sensors bin
                      Program Version 5.14.0
                      Build Date & Time 2018-05-15T15:18:52
                      Core/SDK Version 2_3_0/1.5.3(aec24ac9)

                      Configured GPIO14 for DS18B20 sensor

                      Restarted it.

                      Lost the AP connection - blinking now - might have to JTAG it.

                      Unplugged it ...still not coming back...

                      Went to AP to scan the network...see it...and see Sonoff #2.

                      [ATTACH]69506[/ATTACH][ATTACH]69508[/ATTACH]

                      2100C

                      GUI showing temperature and response times are great.

                      18:12:14 MQT: /GarageDoor1/tele/SENSOR = {"Time":"2018-06-23T18:12:14", "Switch1":"On", "Switch2":"On", "DS18x20":{"DS1":{"Type":"DS18S20", "Address":"10A52F47000800CB", "Temperature":70.1}}, "TempUnit":"F"}
                      18:17:14 MQT: /GarageDoor1/tele/SENSOR = {"Time":"2018-06-23T18:17:14", "Switch1":"On", "Switch2":"On", "DS18x20":{"DS1":{"Type":"DS18S20", "Address":"10A52F47000800CB", "Temperature":69.3}}, "TempUnit":"F"}
                      18:22:14 MQT: /GarageDoor1/tele/SENSOR = {"Time":"2018-06-23T18:22:14", "Switch1":"On", "Switch2":"On", "DS18x20":{"DS1":{"Type":"DS18S20", "Address":"10A52F47000800CB", "Temperature":68.1}}, "TempUnit":"F"}

                      Sunday, June 24, 2018 1000c

                      GUI showing temperature and response times are great.

                      06:49:13 MQT: /GarageDoor1/tele/SENSOR = {"Time":"2018-06-24T06:49:13", "Switch1":"On", "Switch2":"On", "DS18x20":{"DS1":{"Type":"DS18S20", "Address":"10A52F47000800CB", "Temperature":67.9}}, "TempUnit":"F"}
                      06:54:13 MQT: /GarageDoor1/tele/SENSOR = {"Time":"2018-06-24T06:54:13", "Switch1":"On", "Switch2":"On", "DS18x20":{"DS1":{"Type":"DS18S20", "Address":"10A52F47000800CB", "Temperature":68.0}}, "TempUnit":"F"}
                      06:59:13 MQT: /GarageDoor1/tele/SENSOR = {"Time":"2018-06-24T06:59:13", "Switch1":"On", "Switch2":"On", "DS18x20":{"DS1":{"Type":"DS18S20", "Address":"10A52F47000800CB", "Temperature":67.9}}, "TempUnit":"F"}
                      07:01:01 APP: (UTC) Sun Jun 24 15:01:01 2018
                      07:01:01 APP: (DST) Sun Mar 25 02:00:00 2018
                      07:01:01 APP: (STD) Sun Oct 28 03:00:00 2018
                      07:02:00 MQT: /GarageDoor1/tele/UPTIME = {"Time":"2018-06-24T07:02:00", "Uptime":13}

                      Curious about time?

                      Noticed that I get only some responses to commands. I was tinkering with this before and most of the commands worked.

                      hxxp://192.168.244.220/cm?cmnd=Gpio

                      07:07:59 RSL: Group 0, Index 1, Command POWER, Data
                      RESULT = {"POWER":"Off"}
                      POWER = Off
                      Door1 = INDETERMINATE

                      hxxp://192.168.244.220/cm?cmnd=Status%200

                      07:09:34 RSL: Group 0, Index 1, Command POWER, Data 0
                      RESULT = {"POWER":"On"}
                      POWER = On

                      1450c

                      Updating hardware SonOff Basic Wifi #2 with:

                      1 - GPIO 4 connection - use a bit of flux to solder on wire - then a drop of hot melt glue and glue wire to board to top of board.
                      Note this is a bit difficult without a small tipped soldering tool and some flux and hot melt glue and doing this under a magnifying glass.
                      Today while using hot melt glue dropped some on my finger. Using ice removed it but also took skin off while doing this.
                      2 - Aux ground and VCC. Here ground is soldered over so utilize a bit of flux and a solder sucker and a saftey pin to make the hole a bit bigger to solder wire. Soldering posts on without colored plastic then slipping colored plastic sleeve over post. Using little hand clamps to keep posts in place while soldering them. Easy clean hole with flux and solder sucker. No pin was needed.

                      Finished and will test GPIO 4 lead again ground while watching the console - ideally you want to test before dropping some glue on it. I didn't with the first one and was lucky. Not sure if this one will work.
                      Last edited by Pete; June 24, 2018, 04:21 PM.
                      - Pete

                      Auto mator
                      Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
                      Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
                      HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

                      HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
                      HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

                      X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

                      Comment


                        #26
                        The JSON reported is three levels deep. mcsMQTT has provisions for only two so I will need to update the plugin.
                        Version 3.3.4.0 in updater six level of JSON to match the six levels provided for topic.

                        Finished and will test GPIO 4 lead again ground while watching the console - ideally you want to test before dropping some glue on it. I didn't with the first one and was lucky. Not sure if this one will work.
                        I just secured the wire with glue and left the GPIO4 solder connection naked.

                        Comment


                          #27
                          Thank you Michael.

                          Yes here with the glue gun by pass it and just heat up the end of a glue stick and try to control the drip on to the board. Well yesterday did drip on my finger and got a bit too much glue on the board. I can just peel the right glue glob off if I cool it a bit with an ice cube. I also used a bit of gorilla glue on the edges of the two terminals on either side of the board as I noticed that they are a bit loosey goosey.

                          [ATTACH]69540[/ATTACH]

                          When testing yesterday GPIO 4 and 14 did not get any response and attribute it to an eeprom scramble maybe. I know that GPIO14 is good. Testing the two here by just connecting the wires to ground and looking for a response in the console. Did not see any reponse.

                          Is your ssid there anthem? When upgrading flash on Sonoff #2 yesterday also saw an SSID with the name Anthem and I saw the password for it.

                          It is weird like it is defaulting to the names in parenthesis (same with the MQTT stuff) like an IP of 192.168.0.30 and client name of MCS_44BDAC.

                          Ended up with the flashing light Sonoff #2 yesterday such that will be using the JTAG connection today to bring it back to life.

                          Found a non tasmota bin that lets me configure a static IP, AP, et al on it before using it.
                          Last edited by Pete; June 25, 2018, 12:05 PM.
                          - Pete

                          Auto mator
                          Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
                          Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
                          HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

                          HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
                          HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

                          X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

                          Comment


                            #28
                            Originally posted by Pete View Post
                            @Steve,

                            Yeah here have been using 1-Wire stuff since the 1990's and have a collection of:

                            1 - original AAG temperature and temperature humidity sensors - the humidity sensors here are very small and compact and continue to work today.

                            2 - original Midon 1-wire sensor boards with DS18B20's on them plus traces for more 1-wire devices.

                            3 - original Hobby Boards temperature sensors, combo temperature-humidity sensors and combo temperature, humidity and light sensor boards.

                            4 - some place have a bunch of DS18B20 sensors loosey goosey in a tiny bag.

                            5 - cabled 1-wire probes like the ones you mention that SonOff sells that I purchased a few years back.

                            I have no need to purchase any more sensors here. (IE: the second floor - every room (bedrooms and bathrooms and hallway and attic) is wired today with a combo 1-wire temperature and humidity sensor going to the ZNet RPi using Node Red OWFS / Mosquitto these days).

                            For outside using regular wired to 9097 / Node Red / OWFS stuff - adding sensors to outdoor AC compressor next. (no SonOFFs).

                            For this SonOff basic Wifi module looking to install and configure.

                            1 - push button for GDO
                            2 - two door sensors (open and close)
                            3 - one 1-wire temperature sensor for Garage
                            4 - one tiny PIR sensor for Garage (note I already have a regular wired PIR in the garage but it really doesn't work well when it is hot in the garage).

                            That said also have other wired sensors in the garage and CCTV and RFID tags on the cars plus one combo temperature humidity sensor (wired).

                            Everything is ready in the garage except that I have to climb a ladder to install the SonOff module and I want to make sure that it is working before I install it over the GDO(s).

                            Next project, next SonOff basic will try the water meter counter and the add of the 1-wire sensor mounted right on the copper water pipe to see the temperature of the water as it comes in to the house.

                            In a quickie summary have or will have relating to 1-wire sensors....

                            1 - RPi in basement doing Node Red / OWFS / 1-Wire / Mosquitto doing main floor and outside
                            2 - RPi in attic doing Node Red / OWFS / 1-wire / Mosquitto doing 2nd floor and attic

                            #1 and #2 are replacing multiple 1-wire networks (xAP) which utilized 3 Temp08's and 1 Temp05 and 1 9097 that are (were) cat5e wired.

                            3 - SonOff's will all have at least one temperature sensor or one combo sensor (if it works).

                            Additionally here have Leviton OmniPro temperature sensors inside and outside of the house (and combo sensors) wired to the alarm panel.
                            HomeSeer Version: HS3 Pro Edition 3.0.0.368, Operating System: Microsoft Windows 10 - Home, Number of Devices: 373, Number of Events: 666, Enabled Plug-Ins
                            2.0.83.0: BLRF, 2.0.10.0: BLUSBUIRT, 3.0.0.75: HSTouch Server, 3.0.0.58: mcsXap, 3.0.0.11: NetCAM, 3.0.0.36: X10, 3.0.1.25: Z-Wave,Alexa,HomeKit

                            Comment


                              #29
                              Pushing a bit on the SonOff basic Wifi module making it multipurpose a bit using all of the GPIO ports on it and making one a temperature sensor.

                              Garage door SonOff basic WiFi
                              1 - open and closed door sensors
                              2 - GDO button
                              3 - temperature sensor
                              4 - PIR sensor

                              The SonOff basic Wifi Garage door sensor thing is totally a separate endeavor that the two RPi's running Node Red / OWFS and Mosquitto.

                              Yes here originally build multiple 1-wire networks using cat5e all home runned to the basement mothership which was Homeseer 2 using 3 Temp08's and 1 Temp05 and 1 9097 using xAP for multiple serial connections.

                              Basic original temperature sensors were all parasitic and they worked fine.

                              That said though as I added Hobby Boards and Midon sensors they utilized different voltages of 5, 12 and 15VDC (barometer) and other 1-wire stuff so I separated the networks accordingly.

                              Mixed and added separate 1 wire networks using xAP with one instance connected to one serial port. Way back in the early 2000's here worked a bit with Jim Doolittle as he lived nearby initially configuring his 1-wire stuff to work with two or more serial ports and kept giving him different 1-wire devices to test.

                              For a bit tried using UltraJones 1-wire plugin using OWFS emulation...didn't work. This is what the Vera folks are using with OWFS / 1-Wire. It also works fine with the Domoticz automation software (testing running this on same RPi2 in attic).

                              Have totally redone my approach now using two RPi2's as OWFS MQTT Node Red Devices for running Homeseer 3 in Linux. RPi2 Node Red in the attic takes care of sensors in the attic and second floor. RPi2 Node Red in the basement takes care of sensors in the basement , outside and on the main floor. Still in to weather went to different instruments for outside (AAG to Davis). Went to using the Davis rain tipping bucket, old Dallas Instruments rain tipping bucket and a new Digital rain guage (well two of them) and now adding more temperature sensors affixing them by default to the SonOff Basic Wifi modules. (already have a 1-wire sensor in the garage).
                              Last edited by Pete; June 25, 2018, 12:01 PM.
                              - Pete

                              Auto mator
                              Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
                              Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
                              HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

                              HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
                              HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

                              X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

                              Comment


                                #30
                                This is how I am getting back my AP info in to the SonOff basic Wifi module.

                                - originally used a simple arduinio code that I would configure with my AP stuff....

                                Lately trying a new one which is a bit easier...

                                It is a SonOff configuration that uses a Espurna (from Italy) firmware. When I upload this firmware to the SonOff on first boot it comes up as an AP. I log in to it and configure my wifi stuff. The build makes you changes passwords for the web interface. Then using the web based firmware updater update it with the current release of the mcsTasmota bin file. Seems that the AP info is sticking fine here. This one also lets you configure the SonOff with a static IP, NTP, et al. Noticed here too that the RSSI is at 46 which is way lower than the 80-100% that I am seeing with the tasmota bin file which is odd. I am testing here in the same location as before.

                                The build also includes a switch to use telnet.

                                [ATTACH]69536[/ATTACH]

                                So from here do the two file upload to the SonOff Basic which takes me back to the mcs bin file.

                                [ATTACH]69537[/ATTACH]

                                Personally having an issue reading the light colored font here. Maybe it is me?
                                - Pete

                                Auto mator
                                Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
                                Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
                                HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

                                HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
                                HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

                                X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

                                Comment

                                Working...
                                X