Search found 49 matches

by xbmcnut
11 Jul 2019, 12:45
Forum: ESP Easy: Projects / Applications
Topic: sonoff s20 i2c question
Replies: 5
Views: 4148

Re: sonoff s20 i2c question

bobbybeans wrote: 03 Apr 2017, 16:32 thanks I will check this all out today
You ever get it working? I tried today and the I2C scan came up with a whole bunch or sensor addresses but then defaulted to use 0x23, the default. The value initially reported, bounced around a bit then got stuck on one value never to update again.
by xbmcnut
13 Jun 2017, 00:08
Forum: ESP Easy: Hardware
Topic: H801 : RGB controller based on ESP8266 avalaible from China
Replies: 134
Views: 102014

Re: H801 : RGB controller based on ESP8266 avalaible from China

Downloaded plugin zip from GitHub and extracted P105 to ESPEasy_v2.0.0-dev10\Source\src. Same error.
by xbmcnut
12 Jun 2017, 23:58
Forum: ESP Easy: Hardware
Topic: H801 : RGB controller based on ESP8266 avalaible from China
Replies: 134
Views: 102014

Re: H801 : RGB controller based on ESP8266 avalaible from China

vojtishek wrote: 12 Jun 2017, 13:31 Did you download whole master zip from https://github.com/ESP8266nu/ESPEasyPluginPlayground and extract only _P105_RGBW.ino?
I downloaded the RAW data for the plugin and created a file in Notepad++. Will that not work?
by xbmcnut
12 Jun 2017, 12:13
Forum: ESP Easy: Hardware
Topic: H801 : RGB controller based on ESP8266 avalaible from China
Replies: 134
Views: 102014

Re: H801 : RGB controller based on ESP8266 avalaible from China

Hmmm. Do I need to be using older builds?
by xbmcnut
12 Jun 2017, 12:09
Forum: ESP Easy: Hardware
Topic: H801 : RGB controller based on ESP8266 avalaible from China
Replies: 134
Views: 102014

Re: H801 : RGB controller based on ESP8266 avalaible from China

Then you need to copy P105_RGBW.ino into following folder "ESPEasy_R147_RC8\Source\ESPEasy", then compile and flash. Whoops. Get these errors when trying to compile now. Do I need to define the plugin somewhere? Compiling .pioenvs\normal_4096\FrameworkArduino\Updater.o C:/Users/peters/One...
by xbmcnut
12 Jun 2017, 11:59
Forum: ESP Easy: Hardware
Topic: H801 : RGB controller based on ESP8266 avalaible from China
Replies: 134
Views: 102014

Re: H801 : RGB controller based on ESP8266 avalaible from China

Then you need to copy P105_RGBW.ino into following folder "ESPEasy_R147_RC8\Source\ESPEasy", then compile and flash. @vojtishek. Thank you so much!! Easier than I thought and quite obvious when I think about it. :idea: I'm using Home Assistant so will be controlling the device using MQTT....
by xbmcnut
12 Jun 2017, 03:47
Forum: ESP Easy: Hardware
Topic: H801 : RGB controller based on ESP8266 avalaible from China
Replies: 134
Views: 102014

Re: H801 : RGB controller based on ESP8266 avalaible from China

Hey there,

Could someone give me a hint on how to add _P105_RGBW.ino for H801 to Platformio so I can compile? New to Platformio so any assistance would be appreciated.
by xbmcnut
20 Feb 2017, 09:26
Forum: ESP Easy: Hardware
Topic: SONOFF TOUCH - Did you see it?
Replies: 33
Views: 18967

Re: SONOFF TOUCH - Did you see it?

drbrains wrote:I am using ESP Easy on the SonOff S20.
Thanks! Good to know. I would get some of those if they sold the multi socket version like the one on https://world.taobao.com/item/527467680727.htm#detail
by xbmcnut
20 Feb 2017, 09:18
Forum: ESP Easy: Software
Topic: Rules GPIO state and toggle
Replies: 43
Views: 46998

Re: Rules GPIO state and toggle

paxi wrote:You can still sum up the two seperate relay#state rules into one (like in my toggle example above). ;)
Thank you! I tidied up my code and it works religiously via MQTT so very happy. I appreciate your input. :)
by xbmcnut
20 Feb 2017, 08:31
Forum: ESP Easy: Hardware
Topic: SONOFF TOUCH - Did you see it?
Replies: 33
Views: 18967

Re: SONOFF TOUCH - Did you see it?

I got them flashed and working (see my other post) Thanks for that. You flashed them with Espurna though? I just tried over the weekend but had to jump through hoops under Windows with Platformio to get a Wemos flashed (five different Windows programs required). Certainly a long way from being as e...
by xbmcnut
20 Feb 2017, 00:02
Forum: ESP Easy: Hardware
Topic: SONOFF TOUCH - Did you see it?
Replies: 33
Views: 18967

Re: SONOFF TOUCH - Did you see it?

drbrains wrote:I found a 2 gang sonoff touch "look-a-like"
Can you provide a link to the hardware?
by xbmcnut
17 Feb 2017, 11:28
Forum: ESP Easy: Software
Topic: Rules GPIO state and toggle
Replies: 43
Views: 46998

Re: Rules GPIO state and toggle

"toggle" is a user defined event, no native implementation in the firmware. Thanks for clearing that up. So much for my copy and paste from other threads. It clearly was not needed. To get around my intermittent UDP issue, I went with MQTT instead. This works flawlessly. Ensure that 'send...
by xbmcnut
16 Feb 2017, 11:48
Forum: ESP Easy: Software
Topic: Rules GPIO state and toggle
Replies: 43
Views: 46998

Re: Rules GPIO state and toggle

Too bad that TaskValueSet doesn't work via mttq... We need another rule in the "master": on relay#state do if [relay#state]=1 GPIO 13,0 else GPIO 13,1 endif SendTo 2,event,toggle endon Btw. how was the toggle event triggered in your original code? I had not tried the TaskValueSet method a...
by xbmcnut
16 Feb 2017, 10:04
Forum: ESP Easy: Software
Topic: Rules GPIO state and toggle
Replies: 43
Views: 46998

Re: Rules GPIO state and toggle

... Can someone suggest a code tidy up for that below? ... on button#state do if [relay#state] = 0 GPIO,12,1 else GPIO,12,0 endif endon on toggle do if [relay#state] = 1 GPIO,12,0 else GPIO,12,1 endif endon on relay#state do if [relay#state] = 1 gpio,13,0 else gpio,13,1 endif endon on relay#state d...
by xbmcnut
16 Feb 2017, 09:31
Forum: ESP Easy: Software
Topic: Rules GPIO state and toggle
Replies: 43
Views: 46998

Re: Rules GPIO state and toggle

... Can someone suggest a code tidy up for that below? ... The only problem with this is whenever a sendto command is missed (connection-less UDP!) both units will be out of sync - better replace sendto with sendtohttp. The remote command changes from gpio to TaskValueSet that alters the value of b...
by xbmcnut
16 Feb 2017, 04:36
Forum: ESP Easy: Software
Topic: Rules GPIO state and toggle
Replies: 43
Views: 46998

Re: Rules GPIO state and toggle

Ok, found it. on Lightswitch#value do if [GPIO12#value] = 0 GPIO,12,1 else GPIO,12,0 endif endon on toggle do if [GPIO12#value] = 1 GPIO,12,0 else GPIO,12,1 endif endon Thank you! This is exactly what I needed. Can someone suggest a code tidy up for that below? I added code to yours to activate the...
by xbmcnut
14 Feb 2017, 03:19
Forum: ESP Easy: Software
Topic: Rules GPIO state and toggle
Replies: 43
Views: 46998

Re: Rules GPIO state and toggle

I'm using R148 and I have two switches, one on GPIO12 as a sensor for my garage door and another on GPIO14 to drive the relay. The relay needs to turn on for one second then off again to emulate the integrated garage controller. The GPIO12 switch is called 'reed' and is set to 'Push Button Active Lo...
by xbmcnut
11 Feb 2017, 05:27
Forum: ESP Easy: Hardware
Topic: SONOFF TOUCH - Did you see it?
Replies: 33
Views: 18967

Re: SONOFF TOUCH - Did you see it?

Did a quick video with full how to guide in the description. Enjoy. Works a treat!
https://www.youtube.com/watch?v=s5gbdy0niAs
by xbmcnut
18 Nov 2016, 11:55
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 488
Views: 262729

Re: Nextion display plugin

ledfreak3d wrote:Double checked.
I have 4 unpopulated boards and
2 populated with a esp07 on it
Would you post one of the populated boards to NZ to allow me to test? I can pay with PayPal or Amazon UK gift card. Understand if it's too much hassle. ;)
by xbmcnut
17 Nov 2016, 10:48
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 488
Views: 262729

Re: Nextion display plugin

thought so ;) if anybody is interested can put in a new order of boards ill check tonight how many I still have still have enough components to make more boards but don't have any esp12e's or buttons at the moment . still thinking about making a custome domoticz sensor board eather with esp8266 or ...
by xbmcnut
17 Nov 2016, 08:25
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 488
Views: 262729

Re: Nextion display plugin

ledfreak3d wrote:Hey Depends if you want bare boards or
boards that have been populated ;)
I can solder, no issue there I just don't have the time these days. Is a populated board available?
by xbmcnut
17 Nov 2016, 07:52
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 488
Views: 262729

Re: Nextion display plugin

ledfreak3d wrote:Its a replica of scargils esp board had some made in black very handy for the nextions and any esp project
Awesome. Can you suggest a source? I'd love to try some of these.
by xbmcnut
17 Nov 2016, 04:10
Forum: ESP Easy: Software
Topic: Nextion display plugin
Replies: 488
Views: 262729

Re: Nextion display plugin

ledfreak3d wrote:Plugin seems to work fine
now trying to see what variables work
see picture attached
What ESP board are you using in the photo?
by xbmcnut
14 Nov 2016, 01:22
Forum: ESP Easy: Software
Topic: ESP Easy next stable... (release candidates)
Replies: 155
Views: 66941

Re: ESP Easy next stable... (release candidates)

Any chance you could update the dead link on page 1 to the correct location? Should be http://www.letscontrolit.com/wiki/index ... candidates not http://www.esp8266.nu/index.php/Main_Pa ... candidates which goes nowhere.
by xbmcnut
07 Oct 2016, 11:48
Forum: ESP Easy: Software
Topic: Toggle Relay with Rules?
Replies: 16
Views: 24537

Re: Toggle Relay with Rules?

Solved. on relay1#state do if [relay1#state]=1 timerSet 1,2 // 2 second timer endon on Rules#Timer=1 do gpio,13,0 // Turn off relay endon Works a treat in Home Assistant. Update 14th Feb 2017. To prevent the relay from toggling on boot, you need to add a bit of code to the beginning. on System#Boot ...
by xbmcnut
05 Oct 2016, 11:00
Forum: ESP Easy: Software
Topic: Toggle Relay with Rules?
Replies: 16
Views: 24537

Re: Toggle Relay with Rules?

I'm using an Electrodragon running R121 controlled via MQTT for a garage door controller. Input 1 (switch 1) will be the garage door sensor, relay 1 is the garage door opener. I have it all working fine in Home Assistant but I want to be able to toggle the relay off automatically when it is turned o...
by xbmcnut
12 Aug 2016, 14:44
Forum: ESP Easy: Software
Topic: How to ask a ESPeasy device of a GPIO state?
Replies: 18
Views: 43816

Re: How to ask a ESPeasy device of a GPIO state?

This is now working as the retain flag option has been added in R121 and it works a treat.

http://www.esp8266.nu/forum/viewtopic.p ... 8545#p8545
by xbmcnut
12 Aug 2016, 14:40
Forum: ESP Easy: Software
Topic: [Solved] MQTT status feedback
Replies: 10
Views: 7352

Re: [Partly solved] MQTT status feedback

I also use mqtt extensively, xbmcnut, could you please guve us sine more info in when tobuse this new option in R121, and when not - to 'retain' ? If you do not publish the 'retain' flag, when a MQTT client connects, it does not know what state the subscribed devices are in until their state change...
by xbmcnut
12 Aug 2016, 14:35
Forum: ESP Easy: Software
Topic: [Solved] MQTT status feedback
Replies: 10
Views: 7352

Re: [Partly solved] MQTT status feedback

Could you check R121 on github and verify if this solves anything? I've only done some basic tests with the MQTT.fx tool and it seems to work. You need to enable the retain stuff first on /tools/advanced. You Sir are a legend. It is working a treat now and has saved me countless hours of grief. Tha...
by xbmcnut
11 Aug 2016, 11:46
Forum: ESP Easy: Software
Topic: [Solved] MQTT status feedback
Replies: 10
Views: 7352

Re: [Partly solved] MQTT status feedback

Wow, that is awesome, thank you. That will save me much grief. I'll keep an eye out.
by xbmcnut
11 Aug 2016, 00:13
Forum: ESP Easy: Software
Topic: How to ask a ESPeasy device of a GPIO state?
Replies: 18
Views: 43816

Re: How to ask a ESPeasy device of a GPIO state?

This doesn't has to be very difficult, have a look at this where they create a template to do this: https://groups.google.com/forum/#!topic/home-assistant-dev/-RqwZPCNbaw See also https://home-assistant.io/components/switch.mqtt/ for more information about a MQTT in HA. This seems significantly mor...
by xbmcnut
10 Aug 2016, 11:27
Forum: ESP Easy: Software
Topic: How to ask a ESPeasy device of a GPIO state?
Replies: 18
Views: 43816

Re: How to ask a ESPeasy device of a GPIO state?

Testlab setup: Every command that's documented for HTTP should also work if send to .../cmd topic using MQTT. Instead of returning a web page, it reports back to ..../status Thank you, that is awesome to know! I now get the following when I publish to /ESP01/cmd with gpio,14,0. { "log": &...
by xbmcnut
10 Aug 2016, 00:30
Forum: ESP Easy: Software
Topic: How to ask a ESPeasy device of a GPIO state?
Replies: 18
Views: 43816

Re: How to ask a ESPeasy device of a GPIO state?

It's a system wide command and should work on serial, http and mqtt. For mqtt, send the command as payload to <subscription template>/cmd For mqtt, the result is send on <subscription template>/status Could you possibly clarify the MQTT command for obtaining a GPIO status? You mention <subscription...
by xbmcnut
10 Aug 2016, 00:22
Forum: ESP Easy: Software
Topic: [Solved] MQTT status feedback
Replies: 10
Views: 7352

Re: [Partly solved] MQTT status feedback

OK. I have configured the same GPIO pin I'm using to drive a LED and controlled with /ESP/01/gpio/14 (0 or 1) as a switch. I've set the name to relay14 and the value name 1 to 'state'. Now, when I control the output with /ESP/01/gpio/14 , I get a message back if I subscribe to /ESP01/relay14/state w...
by xbmcnut
08 Aug 2016, 10:44
Forum: ESP Easy: Software
Topic: How to ask a ESPeasy device of a GPIO state?
Replies: 18
Views: 43816

Re: How to ask a ESPeasy device of a GPIO state?

I am trying to detect a gpio state using MQTT with /ESP01/status/gpio/14 but I get nothing back when changing the gpio state with mqtt.fx. Is that syntax right? Board is nodemcu running R105. [SOLVED] I simply added a switch and used the same gpio number as the one I'm controlling with MQTT message...
by xbmcnut
05 Aug 2016, 11:00
Forum: ESP Easy: Software
Topic: [Solved] MQTT status feedback
Replies: 10
Views: 7352

Re: MQTT status feedback

What is linked to the GPIO ? If a Switch, you can let it send info, and it will come back on the MQTT channel. Thanks but nope, GPIO out for relay control. I'm publishing to /ESP01/gpio/14 with 0 or 1 which flips the relay but I expect a reply back on /ESP01/status... or /ESP01/gpio/14/status. Is t...
by xbmcnut
05 Aug 2016, 07:43
Forum: ESP Easy: Software
Topic: [Solved] MQTT status feedback
Replies: 10
Views: 7352

[Solved] MQTT status feedback

Can't seem to find this anywhere. Does ESPEasy publish a status message when a request to change a GPIO state is received? I'm running R105 on NodeMCU.
by xbmcnut
02 Aug 2016, 05:41
Forum: ESP Easy: Software
Topic: OPENHAB-MQTT publish failing by GPIO15,GPIO4 and GPIO5
Replies: 1
Views: 1312

Re: OPENHAB-MQTT publish failing by GPIO15,GPIO4 and GPIO5

@espayyan,

What is your subscribe topic in MQTT for the gpio pin state?
by xbmcnut
02 Aug 2016, 04:49
Forum: ESP Easy: Software
Topic: How to ask a ESPeasy device of a GPIO state?
Replies: 18
Views: 43816

Re: How to ask a ESPeasy device of a GPIO state?

I am trying to detect a gpio state using MQTT with

Code: Select all

/ESP01/status/gpio/14
but I get nothing back when changing the gpio state with mqtt.fx. Is that syntax right? Board is nodemcu running R105.
by xbmcnut
12 Apr 2016, 07:52
Forum: ESP Easy: Hardware
Topic: New ESP gadget
Replies: 326
Views: 397770

Re: New ESP gadget

Hi, I got 3 sonoff with 5 pin, tried to flash one with espeasy. Always get this error: warning: espcomm_sync failed error: espcomm_open failed error: espcomm_upload_mem failed Can anybody help here? Regards Hubert Had this today on several units. Hold down the button, plug in the USB and continue t...
by xbmcnut
01 Apr 2016, 04:08
Forum: ESP Easy: Software
Topic: R95 error when compiling
Replies: 3
Views: 2491

Re: R95 error when compiling

Move folder 'TinyI2CWatchdog' out of \Source\ESPEasy\, close Adruino, open again and it should work now.
by xbmcnut
01 Apr 2016, 03:30
Forum: ESP Easy: Software
Topic: Tutorial ESPEasy / OpenHAB problem
Replies: 12
Views: 10836

Re: Tutorial ESPEasy / OpenHAB problem

dabe5 wrote:I have no problems to switch the gpio on/off with

Code: Select all

/ESP-OG01/gpio/14
and payload 0 / 1

or

Code: Select all

/ESP-OG01/pwm/14
and payload from 0 to 1000 for dimming the LED

but I never tried with GPIO 2.
I use GPIO 12, 13 and 14
Thanks for your help. Works flawlessly now.
by xbmcnut
31 Mar 2016, 22:59
Forum: ESP Easy: Software
Topic: ESP Easy Releases
Replies: 345
Views: 159974

Re: ESP Easy Releases

micha wrote:
just move folder TinyI2CWatchdog out of ESPEasy project. That solved this error for me...

BTW: what is the need/use for TinyI2CWatchdog ? :roll:
Thanks. I had removed the folder several times but without closing Arduino! Removed and reopened and it compiled just fine.
by xbmcnut
31 Mar 2016, 13:22
Forum: ESP Easy: Software
Topic: ESP Easy Releases
Replies: 345
Views: 159974

Re: ESP Easy Releases

Trying to compile R92 using instructions here http://www.esp8266.nu/index.php/Tutorial_Arduino_Firmware_Upload and get the following error. sketch\TinyI2CWatchdog\TinyWireS_Custom\usiTwiSlave.c:41:20: fatal error: avr/io.h: No such file or directory #include <avr/io.h> 1.6.8 Portable with 2.10 and b...
by xbmcnut
27 Mar 2016, 05:37
Forum: Introduce yourself
Topic: Hello from New Zealand
Replies: 2
Views: 4323

Re: Hello from New Zealand

Thanks, I will certainly assist where I can.
by xbmcnut
20 Mar 2016, 10:33
Forum: ESP Easy: Software
Topic: Tutorial ESPEasy / OpenHAB problem
Replies: 12
Views: 10836

Re: Tutorial ESPEasy / OpenHAB problem

Thanks for the advice. I'll try that tomorrow.
by xbmcnut
19 Mar 2016, 11:24
Forum: ESP Easy: Software
Topic: Tutorial ESPEasy / OpenHAB problem
Replies: 12
Views: 10836

Re: Tutorial ESPEasy / OpenHAB problem

@dabe5 Yes, that is why I'm puzzled. When I publish

Code: Select all

/PetesESP8266/gpio/2
without anything else, the internal blue LED turns on. Sending 0 or 1 in the payload makes no difference and I have to reset the board to get the LED to turn off.
by xbmcnut
17 Mar 2016, 09:01
Forum: Introduce yourself
Topic: Hello from New Zealand
Replies: 2
Views: 4323

Hello from New Zealand

Hi there, Long time tinkerer, first time ESP user. On a voyage of discovery to replace by ageing Vera UI5 system with something that is a bit more flexible and came across ESP Easy today so very happy about that. Planning on deploying OpenHAB2 on my Synology NAS along with Mosquito (done and done) b...
by xbmcnut
17 Mar 2016, 08:56
Forum: ESP Easy: Software
Topic: Tutorial ESPEasy / OpenHAB problem
Replies: 12
Views: 10836

Re: Tutorial ESPEasy / OpenHAB problem

Hi guys. I too have set this demo up today with R78. I am using MQTT.fx to get status updates from the ESP every 60s on the channel /PetesESP8266/# and this works flawlessly. Tonight I wanted to try publishing to turn the internal blue LED on but when I publish this /PetesESP8266/gpio/2 , the blue L...