Announcement

Collapse
No announcement yet.

Esp8266 support in this plugin

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

    Esp8266 support in this plugin

    Hi... I am a very satisfied user of this plugin, and use it with arduino uno and an ethernet controller. I would now like to use it to control an esp8266 based relay controller: https://www.banggood.com/DC12V-ESP82...r_warehouse=CN connected via Wifi.

    It appears from various threads that this plugin should be able to do this, but for the life of me I can't see any mention of it in the documentation, and the arduino IDE doesn't seem to support the 8266, at least not natively.

    So, first off, is there official 8266 support in the plugin? If so, is there a brief write up on how to do that that's like the one for dealing with uno's? The plugin has network info in the config that looks like it supports ethernet, but there is no place to enter WiFi SSID, and password, etc...

    I have USB 8266 programmer, so easy to pop the module in and program it.

    Thanks!
    Mike

    #2
    Mike,

    Yes, the plugin supports the NodeMcu boards if you update to the Beta version that is in the updater you will get the options you are looking for.
    The link you posted is for an esp 01 on a relay board and there is no support for this in the HS3 version but I have just added this to the HS4 version. If you need relay outputs with wifi I would suggest using a something like this https://www.banggood.com/Wireless-No...l?rmmds=search with this https://www.banggood.com/BESTEP-4-Ch...r_warehouse=CN.

    Greig.
    Zwave = Z-Stick, 3xHSM100� 7xACT ZDM230, 1xEverspring SM103, 2xACT HomePro ZRP210.
    X10 = CM12U, 2xAM12, 1xAW10, 1 x TM13U, 1xMS13, 2xHR10, 2xSS13
    Other Hardware = ADI Ocelot + secu16, Global Cache GC100, RFXtrx433, 3 x Foscams.
    Plugings = RFXcom, ActiveBackup, Applied Digital Ocelot, BLDeviceMatrix, BLGarbage, BLLAN, Current Cost, Global Cache GC100,HSTouch Android, HSTouch Server, HSTouch Server Unlimited, NetCAM, PowerTrigger, SageWebcamXP, SqueezeBox, X10 CM11A/CM12U.
    Scripts =
    Various

    Comment


      #3
      Originally posted by enigmatheatre View Post
      Mike,

      Yes, the plugin supports the NodeMcu boards if you update to the Beta version that is in the updater you will get the options you are looking for.
      The link you posted is for an esp 01 on a relay board and there is no support for this in the HS3 version but I have just added this to the HS4 version. If you need relay outputs with wifi I would suggest using a something like this https://www.banggood.com/Wireless-No...l?rmmds=search with this https://www.banggood.com/BESTEP-4-Ch...r_warehouse=CN.

      Greig.
      Thanks Grieg. Given all the issues with HS4, and given all the plugins I depend on, I doubt I'll be moving to HS4 anytime soon. Sounds like I need to find a different way to deal with 4 relays controlled by wifi...

      Comment


        #4
        As I said this will work in HS3 with the boards I sent links to if you want wifi based relays it is just the esp 01 that it will not work with.
        With regards to HS4 what problems are you referring to? It is in Beta so I would expect some problems but I am running the latest release candidate and have had no problems with it. The HSTeam have worked hard to make all HS3 plugins compatible with it to.

        Sent from my SM-G973F using Tapatalk

        Zwave = Z-Stick, 3xHSM100� 7xACT ZDM230, 1xEverspring SM103, 2xACT HomePro ZRP210.
        X10 = CM12U, 2xAM12, 1xAW10, 1 x TM13U, 1xMS13, 2xHR10, 2xSS13
        Other Hardware = ADI Ocelot + secu16, Global Cache GC100, RFXtrx433, 3 x Foscams.
        Plugings = RFXcom, ActiveBackup, Applied Digital Ocelot, BLDeviceMatrix, BLGarbage, BLLAN, Current Cost, Global Cache GC100,HSTouch Android, HSTouch Server, HSTouch Server Unlimited, NetCAM, PowerTrigger, SageWebcamXP, SqueezeBox, X10 CM11A/CM12U.
        Scripts =
        Various

        Comment


          #5
          Just to close this out, and for posterity, I found a package called espeasy that works well on this device and many like it: https://espeasy.readthedocs.io/en/latest/index.html I used the esptool (available on multiple platforms) to flash it to the device using one of these cheap programmers: https://www.amazon.com/ESP-01-Adapte.../dp/B07Q17XJ36. There is a switch between the UART and program mode which means no soldering of pins required.

          The specific image I found that works well is listed in the first post in this thread: https://www.letscontrolit.com/forum/...pic.php?t=3245 and I used this command to flash it on linux: "esptool --port /dev/ttyUSB0 --baud 115200 write_flash 0x00000 ESPEasy_P165_1M_128kS_lwip20_PUYA.bin"

          Then you follow the ESP easy setup instructions, and then in devices set the port type to serial MCU controlled switch, LC Tech as the vendor, and 4 relays in my case.

          After that you set the controller to standalone (MQTT is also an easy option), and the you can issue commands like on this page: https://espeasy.readthedocs.io/en/la...ugin/P091.html

          I may play with the MQTT option, but I don't use that in HS at all today, and I think I can get that work with HTTP commands and HS virtual devices. To be sure Grieg, I really love your plugin, and this approach is more complicated, but I bought for of those modules ($7 a piece!) so wanted something that work work on them and on HS3

          Thanks!
          Mike

          Comment

          Working...
          X