Announcement

Collapse
No announcement yet.

Gosund WiFi dimmers (ESP8266 based) any experience out there

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

    #31
    No.

    Maybe it is a leftover as the first Tasmota firmware was written for the Sonoff basic.

    I have one Sonoff basic here modded with Tasmota per Michael's GDO project. This was a tinkering project.

    You can tap into using the GPIOs for all sorts of stuff with Espurna or Tasmota firmware.

    One example was mcs Michael's modification of a Sonoff basic turning it in to a multi functional GDO.

    This Sonoff basic has a hard wired Garage door up sensor and another down sensor and a DS18B20 sensor for garage temperature and it toggles a digital garage door button. This device has been running now for over the year. I also have the OmniPro 2 panel wired to the GDO and the Sonoff works as fast as the alarm panel.

    I have moved my old 1-Wire network to using SonOff basics where I can connect up to 5 DS18B20's these days.

    In house #2 went with a Ring (all wireless) alarm system and controlling it today with a Ring ==> MQTT plugin. I have integrated the Alexa show devices for TTS and they work fine with the Ring alarm system.
    - Pete

    Auto mator
    Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb- Mono 6.12.X - HSTouch on Intel tabletop tablets
    Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro - Mono 6.12.X
    HS4 Pro - V4.1.11.0 - Ubuntu 20.01/VB W7e 64 bit Intel Kaby Lake CPU - 32Gb - Mono
    6.10.0.104
    HS4 Lite -

    X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Smartthings hub, Hubitat Hub, and Home Assistant

    Comment


      #32
      BTW this is the Tasmota "console" report when I try to do manual control of the dimmer. I start at full brightness, touch the slider and slowly move my finger down the slider. The light cooperates and gets dimmed accordingly. It shuts off when I remove my finger from the slider and can't be manually controlled anymore. The report below shows the whole process as described. Any clues by the tea leaves readers ???

      20:53:27 Scaled brightness is eb
      20:53:27 Script: performs "SerialSend5 eb"
      20:53:27 MQT: stat/Dimmer1/RESULT = {"SerialSend":"Done"}
      20:55:00 MQT: tele/Dimmer1/RESULT = {"SerialReceived":"2455011D232456011D232456011D232456011D 232 456011D232456011D232455011D232455011D232455011D232455011D232 454011D232454011D232454011D232454011D232454011D232453011D232 451011D232450011D23244E011D23244C011D23244A011D23244A011D232 447011D232444011D232442011D232441011D232440011D23243E011D232 43C011D23243B011D23243A011D232436011D232436011D232434011D232 434011D232433011D232432011D232431011D232430011D23242E011D232 42C011D23242B011D232429011D232428011D232426011D232426011D232 424011D232424011D232422011D232422011D232422011D232422011D232 421011D232420011D23241E011D23241D011D23241C011D23241A011D232 418011D232417011D232416011D232416011D232416011D232416011D232 416011D2 ...
      20:55:02 MQT: tele/Dimmer1/RESULT = {"SerialReceived":"23240E011D23240E011D23240E011D23240E01 1D2 3240E011D23240E011D23240E011D23240E011D23240E011D23240E011D2 3240E011D23240E011D23240E011D23240E011D23240E011D23240E011D2 3240E011D23240E011D23240E011D23240E011D23240E011D23240E011D2 3240E011D23240E011D23240E011D23240E011D23240E011D23240E011D2 3"}
      20:55:02 Script: performs "dimmer 0"
      20:55:02 MQT: stat/Dimmer1/RESULT = {"POWER":"OFF","Dimmer":0}
      20:55:02 Scaled brightness is 7f
      20:55:02 Script: performs "SerialSend5 7f"
      20:55:02 MQT: stat/Dimmer1/RESULT = {"SerialSend":"Done"}
      20:55:02 Script: performs "Serialsend5 00"
      20:55:02 MQT: stat/Dimmer1/RESULT = {"SerialSend":"Done"}

      Comment


        #33
        Try the original script posted on the templates site. After you save the template / script then reboot the Gosund dimmer and see if that works.

        Today tested the dimming via web interface and watched the LED line move up and down.

        It shuts off when I remove my finger from the slider and can't be manually controlled anymore.

        Tap on the bottom toggle and it will go to a preset level (or last level). When you move your finger down to the bottom does the LED indicator light change color to the "off" color?

        - Pete

        Auto mator
        Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb- Mono 6.12.X - HSTouch on Intel tabletop tablets
        Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro - Mono 6.12.X
        HS4 Pro - V4.1.11.0 - Ubuntu 20.01/VB W7e 64 bit Intel Kaby Lake CPU - 32Gb - Mono
        6.10.0.104
        HS4 Lite -

        X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Smartthings hub, Hubitat Hub, and Home Assistant

        Comment


          #34
          Pete thanks for the continued help. Unfortunately my Gosund dimmer is still not working in manual mode after I did all of the above.
          A little bit of good news is that the problems were reduced to one problem only by using the latest script by David.
          It's just one repeatable problem. Light turns off as soon as I remove my finger from the slider.

          Manual on/off by button push does work.

          Manual slider up/down does work until I remove the finger, at which moment it turns off.

          Played with the 0x7f setting at the script as advised by aothor. It changes the sensitivity of the slider at the Tasmota GUI but doesn't resolve my problem.

          Looked at the console log and noticed this



          23:13:54 var not found: Dimmer



          Is it possible that something is missing in the script?



          Also here is the log showing manual slide up and down and the release that turns the light off (unwanted) instead of keeping the level reached by slider.





          23:30:01 var not found: Dimmer
          23:30:01 Script: performs "SerialSend5 80"
          23:30:01 MQT: stat/Dimmer1/RESULT = {"SerialSend":"Done"}
          23:30:01 MQT: stat/Dimmer1/RESULT = {"POWER":"ON"}
          23:30:01 MQT: stat/Dimmer1/POWER = ON
          23:30:10 MQT: tele/Dimmer1/RESULT = {"SerialReceived":"2401011E232404011E232406011E232406011E 232 406011E232407011E232407011E232407011E232407011E232407011E232 408011E232408011E232408011E232408011E232409011E232409011E232 40A011E23240E011E232417011E232420011E232426011E232426011E232 427011E232427011E232428011E232428011E23242C011E232431011E232 436011E23243A011E23243A011E23243A011E23243E011E232443011E232 44A011E23244E011E23244E011E23244E011E23244E011E23244E011E232 44E011E23244E011E23244E011E23244E011E23244E011E23244E011E232 44D011E23244C011E23244C011E23244C011E23244B011E23244A011E232 44A011E23244A011E232449011E232447011E232445011E232443011E232 442011E23243F011E23243E011E23243C011E23243C011E23243C011E232 43C011E2 ...
          23:30:10 Script: performs "dimmer 0"
          23:30:10 MQT: stat/Dimmer1/RESULT = {"POWER":"OFF","Dimmer":0}
          23:30:10 Scaled brightness is 7f
          23:30:10 Script: performs "SerialSend5 7f"
          23:30:10 MQT: stat/Dimmer1/RESULT = {"SerialSend":"Done"}
          23:30:10 Script: performs "Serialsend5 00"
          23:30:10 MQT: stat/Dimmer1/RESULT = {"SerialSend":"Done"}

          Comment


            #35
            Will have a look see tomorrow visiting house #2. It's programmed to to go on and off. When I tested it a while ago it appeared to work fine.

            Will try your dimming sliding my finger down and remove my finger in the middle or so.

            Have you custom tweaked the script for your LED lamp / lighting per this ==> hxxps://templates.blakadder.com/gosund_SW2.html
            - Pete

            Auto mator
            Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb- Mono 6.12.X - HSTouch on Intel tabletop tablets
            Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro - Mono 6.12.X
            HS4 Pro - V4.1.11.0 - Ubuntu 20.01/VB W7e 64 bit Intel Kaby Lake CPU - 32Gb - Mono
            6.10.0.104
            HS4 Lite -

            X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Smartthings hub, Hubitat Hub, and Home Assistant

            Comment


              #36
              Originally posted by Pete View Post

              Have you custom tweaked the script for your LED lamp / lighting per this ==> hxxps://templates.blakadder.com/gosund_SW2.html
              Yes, I did.

              Comment


                #37
                Finally good news for me. Gosund dimmer does work for me now both manually and from Tasmota GUI.

                It happened after I upgraded Tasmota to the latest version 9.1.0.

                One notable thing is that the latest version as well as the previous version do not offer "scripting" enabled version.

                I used the file kindly provided by Pete in his post above. To my great surprise using this file didn't take me back to an older version of Tasmota. I was able to keep the version 9.1.0.

                The OTA sequence is

                - install 9.1.0 minimal
                - upgrade the firmware with the file provided by Pete

                The next step is to integrate with HS4. I will keep you posted.

                Comment


                  #38
                  Here is the link provided by Cocoontech forum user @gpg108. I provided same link to DigiBlur - Travis Griggs

                  You do not need to use a template or scripting bin or script with this one. It is all included and has worked well.

                  hxxps://github.com/gbg108/Tasmota/releases/tag/v9.0.0.3_GS1.2

                  hxxps://github.com/gbg108/Tasmota/releases/download/v9.0.0.3_GS1.2/tasmota_v9.0.0.3_GS1.2.bin

                  Be aware, it's not perfect...

                  The first problem is that since the touch pad works by changing the dimming level directly, Tasmota only witnesses this event. This means that if your minimum dimming range is set to 30, there is no way Tasmota can force the touch pad to respect this. The driver can only see that the touch pad has gone below 30 and correct it. The result is a loop between the touch pad setting the level to 10 and Tasmota setting it back to 30 until you go back into range or your finger comes off the touch pad. From your perspective you'll see this loop as the light flashing.

                  The second issue is that because the touch pad can't be force to use a smaller range (AFAIK) then we need the slider to also behave the same way and continue to use the full 0-100 range. The result is that if you set your dimming range 30-60, then the only that section of the slider bar will actually adjust the dimming. Anything above or below this part of the slider won't impact the brightness. Not a big issue but not completely intuitive for the user.
                  Steps would be as above

                  1 - install minimal tasmota.bin
                  2 - install tasmota_v9.0.0.3_GS1.2.bin

                  Here have moved on to updating a combo fan / light switch to Tasmota. This one can only be updated JTAGing it. Travis Griggs has offered up selling a little Jig for upgrading the firmware. He sent it to me and I tested it to work fine. No soldering is required. Easy Peasey stuff.

                  Smart Ceiling Fan Control and Dimmer Light to Tasmota

                  - Pete

                  Auto mator
                  Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb- Mono 6.12.X - HSTouch on Intel tabletop tablets
                  Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro - Mono 6.12.X
                  HS4 Pro - V4.1.11.0 - Ubuntu 20.01/VB W7e 64 bit Intel Kaby Lake CPU - 32Gb - Mono
                  6.10.0.104
                  HS4 Lite -

                  X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Smartthings hub, Hubitat Hub, and Home Assistant

                  Comment


                    #39
                    Damn. Should have red this post earlier. Spent few hours already to convert 8 dimmers. Not going back. It works with the script and the Tasmota version is 9.1.0 - the original not a fork off original. At the same time the scripting feature is not mentioned anymore maybe it will be abandoned in the future. So good to have an alternative.

                    Comment


                      #40
                      It wouldn't take very long to update each of the dimmers while connected and live.
                      - Pete

                      Auto mator
                      Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb- Mono 6.12.X - HSTouch on Intel tabletop tablets
                      Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro - Mono 6.12.X
                      HS4 Pro - V4.1.11.0 - Ubuntu 20.01/VB W7e 64 bit Intel Kaby Lake CPU - 32Gb - Mono
                      6.10.0.104
                      HS4 Lite -

                      X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Smartthings hub, Hubitat Hub, and Home Assistant

                      Comment


                        #41
                        Hi Pete, is the Travis Griggs' jig for upgrading this switch firmware only or does it work for upgrading other device firmware as well?

                        Comment


                          #42
                          Does it work for upgrading other device firmware as well?

                          Yes. Much easier than soldering which I was used to. I used a piece of painters tape to keep the jig in place.

                          Write to Travis. I got mine in a week or so.
                          - Pete

                          Auto mator
                          Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb- Mono 6.12.X - HSTouch on Intel tabletop tablets
                          Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro - Mono 6.12.X
                          HS4 Pro - V4.1.11.0 - Ubuntu 20.01/VB W7e 64 bit Intel Kaby Lake CPU - 32Gb - Mono
                          6.10.0.104
                          HS4 Lite -

                          X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Smartthings hub, Hubitat Hub, and Home Assistant

                          Comment

                          Working...
                          X