Search found 33 matches

by randytsuch
05 Oct 2018, 17:07
Forum: ESP Easy: General Discussion
Topic: Help configure Generic MQTT import
Replies: 7
Views: 1075

Re: Help configure Generic MQTT import

ulfh2018 wrote:
05 Oct 2018, 08:13
Thank you so much, Randy - worked as a dream, so why do it complicated when it can be done so easy. You are a genious!
Glad I was able to help

Most of this is easy if you know how to do it 8-)
by randytsuch
05 Oct 2018, 01:02
Forum: ESP Easy: General Discussion
Topic: Help configure Generic MQTT import
Replies: 7
Views: 1075

Re: Help configure Generic MQTT import

My home system uses node red, esp easy and also Home Assistant. My current nodes/flows call Home Assistant, and Home Assistant sends a mqtt command to an esp somewhere to toggle a relay. But you should be able to have NR send the mqtt command, I just haven't done that. If it was me, I'd set up a mqt...
by randytsuch
11 Sep 2018, 21:41
Forum: ESP Easy: General Discussion
Topic: EspEasy with openhab and mqtt not working
Replies: 10
Views: 1547

Re: EspEasy with openhab and mqtt not working

You really should get a mqtt sniffer https://www.hivemq.com/blog/seven-best-mqtt-client-tools It will take a few minutes to figure out how to setup and get it working, but it makes it SO much easier when you can actually see what's going on. And you can use them to send stuff too. I've used both mqt...
by randytsuch
11 Sep 2018, 17:21
Forum: ESP Easy: General Discussion
Topic: EspEasy with openhab and mqtt not working
Replies: 10
Views: 1547

Re: EspEasy with openhab and mqtt not working

Format needs to be topic: /ESP_EASY/cmd payload: gpio,12,1 Its not clear from your screenshot what the topic is, and what the payload is. MQTT messages always have a topic and a payload. For gpio, you can also do this topic: /ESP00/gpio/12 payload of 0 or 1 It will work, but not recommended, the fir...
by randytsuch
07 Sep 2018, 17:35
Forum: ESP Easy: General Discussion
Topic: Mosquitto on Ubuntu - no connection
Replies: 18
Views: 1930

Re: Mosquitto on Ubuntu - no connection

FWIW, I'm using a dev version from July I think (at work and can't check), and mosquitto works fine for me.

I can both send commands, and receive status over mosquitto.

Also, if it works on your laptop, but not on Ubuntu, that seems to point to a difference between the two.

Randy
by randytsuch
30 Aug 2018, 22:51
Forum: ESP Easy: Hardware
Topic: Wired Ethernet / PoE
Replies: 4
Views: 774

Re: Wired Ethernet / PoE

POE is a fair amount of work to implement, you need to inject the voltage or get a POE capable switch, and then on the other end you have to extract the voltage and then convert it to what you need. Normally, if you can get an ethernet wire there, you can also get a wifi signal there. Or add a wifi ...
by randytsuch
06 Aug 2018, 16:56
Forum: ESP Easy: General Discussion
Topic: mqtt cant receive gpio command
Replies: 10
Views: 2211

Re: mqtt cant receive gpio command

Update in case someone finds this in a search looking for help. I changed out the wemos d1 pro with a wemos d1, and loaded it via my macbook with a mid july verion of esp easy. This worked, when sending via mqtt: topic: /ESP00/gpio/12 payload of 0 or 1 But if I tried something like pulse or pcfgpio ...
by randytsuch
03 Aug 2018, 16:56
Forum: ESP Easy: General Discussion
Topic: mqtt cant receive gpio command
Replies: 10
Views: 2211

Re: mqtt cant receive gpio command

I have it set to debug level for web output. I'm starting to think that maybe my build is a little wonky. I built it on platformio on a macbook, and maybe something went slightly wrong. I have a spare wemos mini d1 (4 meg version), which I can load with the precompiled espeasy. I'll try that this we...
by randytsuch
03 Aug 2018, 05:12
Forum: ESP Easy: General Discussion
Topic: mqtt cant receive gpio command
Replies: 10
Views: 2211

Re: mqtt cant receive gpio command

Ken Thanks for taking the time to do those tests. So success!! But only with grovkillen's (wiki) method. That works every time. I still can't get the topic = /ESP00/gpio/12 way to work But I'm able to get it working, so I'm happy. One thing I would like to mention. MQTT commands don't get sent to th...
by randytsuch
02 Aug 2018, 22:41
Forum: ESP Easy: General Discussion
Topic: mqtt cant receive gpio command
Replies: 10
Views: 2211

Re: mqtt cant receive gpio command

Thanks for that, I'll give it a try when I get home tonight, and post some screenshots.

The other thing I should mention is my ESP time was off, and I just fixed that, don't know if MQTT cares about time.

Randy
by randytsuch
02 Aug 2018, 22:07
Forum: ESP Easy: General Discussion
Topic: mqtt cant receive gpio command
Replies: 10
Views: 2211

Re: mqtt cant receive gpio command

Based on the wiki, last night I was trying topic: /ESP00/cmd payload: gpio/12/1 And based on my experience with mqtt port, if I get the payload part incorrect, espeasy will at complain about the payload in a logger message So if payload should really be gpio,12,1 then I would expect an error message...
by randytsuch
02 Aug 2018, 17:07
Forum: ESP Easy: General Discussion
Topic: mqtt cant receive gpio command
Replies: 10
Views: 2211

mqtt cant receive gpio command

I've spend the last few days trying to get mqtt working on one of my esp's. Running mega-20180723, using the "normal" version. Compiled and loaded with Platformio using the wiki instructions. Loaded into a wemos mini d1 pro. On the other side, I have a pi running home assistant. I have seen threads ...
by randytsuch
31 Jul 2018, 17:01
Forum: ESP Easy: Projects / Applications
Topic: Projet of PH Sensor for swimming pool
Replies: 18
Views: 7918

Re: Projet of PH Sensor for swimming pool

Have you guys seen this project?
http://www.domoticz.com/forum/viewtopic ... a1736e75e2

He provides lots of information.

I've thought about trying to implement a chlorine sensor for my pool, but haven't make any progress yet.

Randy
by randytsuch
08 Sep 2017, 00:55
Forum: ESP Easy: General Discussion
Topic: DOes a separate guest network make sense?
Replies: 10
Views: 2334

Re: DOes a separate guest network make sense?

An advantage would be to reduce the data bandwidth used by the ESPs on your wifi network. But ESPs running ESP easy, reporting switch closures, temperatures, etc hardly use any bandwidth. My kids watching youtube and face timing, etc, those are the bandwidth hogs. Compared to listening the music and...
by randytsuch
06 Sep 2017, 16:51
Forum: ESP Easy: Hardware
Topic: Need reset and Flash buttons on ESP-01 ??
Replies: 6
Views: 2839

Re: Need reset and Flash buttons on ESP-01 ??

I added a "flash" switch to my serial adapter board so I can program ESP-01's.

I hold the switch down when I power up the boards to get into programming mode, works fine.
by randytsuch
16 Aug 2017, 19:30
Forum: ESP Easy: Projects / Applications
Topic: How to press a button for Garage Door?
Replies: 31
Views: 7750

Re: How to press a button for Garage Door?

I need relay not to change when the device is rebooted. If it changes position when device is coming online, it is the same as pressing the garage door button. The problem with this is that during the power failure, when the power will come back on, the button will be pressed and the door will open...
by randytsuch
16 Aug 2017, 17:21
Forum: ESP Easy: Projects / Applications
Topic: How to press a button for Garage Door?
Replies: 31
Views: 7750

Re: How to press a button for Garage Door?

For a relay, 0 and 1 are somewhat arbitrary. You really only care about when it is opened or closed. So, if it is always closed at turn on, use the other contact, so it is always open at turn on. If you are currently using the middle and left relay contacts, change to middle and right. Or vice versa...
by randytsuch
15 Aug 2017, 19:48
Forum: ESP Easy: Projects / Applications
Topic: How to press a button for Garage Door?
Replies: 31
Views: 7750

Re: How to press a button for Garage Door?

I am using Output MQTT Domoticz Helper

Switches are inputs, not outputs, and you need an output.

For Esp easy logs, you just go to tools then logs.
by randytsuch
15 Aug 2017, 18:11
Forum: ESP Easy: Projects / Applications
Topic: How to press a button for Garage Door?
Replies: 31
Views: 7750

Re: How to press a button for Garage Door?

From the wiki page Example to send an active high pulse on GPIO 2 for 500 mSeconds: http://<ESP IP address>/control?cmd=Pulse,2,1,500 so you don't need to use rules, send a pulse command instead of setting the gpio high or low. You may need to experiment with pulsing it high or low, I think I pulse ...
by randytsuch
15 Aug 2017, 16:58
Forum: ESP Easy: Projects / Applications
Topic: How to press a button for Garage Door?
Replies: 31
Views: 7750

Re: How to press a button for Garage Door?

I'm using domoticz, but I would expect home assistant to have the same type of capability I use in domoticz. In domoticz, I've made a virtual switch. When I press the switch, it sends out http://ip address of esp/control?cmd=gpio,5,1 This will set gpio 5 to one. change to 1 to a 0 to set the gpio lo...
by randytsuch
09 Aug 2017, 21:21
Forum: Staff Announcements forum
Topic: ESP Easy development status
Replies: 143
Views: 46059

Re: ESP Easy development status

I wish we could have status of how many user there's out there but one indication is the number of stars on github. We have reached 500+ now over the weekend and if I remember correctly we have risen from 400 stars in just about a month. Great! :) https://github.com/letscontrolit/ESPEasy/stargazers...
by randytsuch
01 Aug 2017, 00:47
Forum: ESP Easy: General Discussion
Topic: Pushbutton toggle
Replies: 5
Views: 2654

Re: Pushbutton toggle

Look at this thread, it should help

https://www.letscontrolit.com/forum/vie ... php?t=1655
by randytsuch
25 Jul 2017, 23:23
Forum: ESP Easy: General Discussion
Topic: WiFi Direct Connection
Replies: 17
Views: 4257

Re: WiFi Direct Connection

I think its more complicated than enabling the AP function that is active at initial configuration, but I really don't know, thats a question for the sw developers. I also really don't see a difference between using a pi with domoticz vs using an ESP with ESP easy to do the actual heater control, bu...
by randytsuch
25 Jul 2017, 17:01
Forum: ESP Easy: Hardware
Topic: Problem of flash/start on D1 Mini Pro
Replies: 7
Views: 3177

Re: Problem of flash/start on D1 Mini Pro

I had the same problem, and ended up installing the arduino compiler, and built ESP Easy from source. There are a lot of tutorials online that describe some changes you need to make for the ESP, mostly adding 4 libraries. Using the code I built, I was able to get a pro to run, and ESP_0 shows up aft...
by randytsuch
24 Jul 2017, 18:45
Forum: ESP Easy: General Discussion
Topic: WiFi Direct Connection
Replies: 17
Views: 4257

Re: WiFi Direct Connection

I'm not an expert, but I think basically asking an ESP to act as a router is asking a bit much of it. Even just to talk to other ESPs. Maybe try the D1 mini pro? It has a better internal antenna, and a connection to add an external antenna if you need a better signal. That may allow you to get a rel...
by randytsuch
17 Jul 2017, 19:46
Forum: ESP Easy: Software
Topic: ESP easy compiling for 512k/64k spiffs
Replies: 5
Views: 1501

Re: ESP easy compiling for 512k/64k spiffs

Or just use R120. It works well enough, what new features do you really want? Latest does not always equal best (well in this case) FWIW, I was having trouble trying to sent an eventvalue with R120, couldn't get it to work. Then I reloaded the ESP with the latest mega version, and it worked right a...
by randytsuch
06 Jul 2017, 16:36
Forum: ESP Easy: General Discussion
Topic: I2C Pins
Replies: 7
Views: 1771

Re: I2C Pins

One other suggestion is to add this to the wiki, to warn people not to use pins 9 and 10 for I2C as it may break other functions and cause resets.

Or at least I hope this thread will help others in the future.

Randy
by randytsuch
05 Jul 2017, 23:53
Forum: ESP Easy: General Discussion
Topic: I2C Pins
Replies: 7
Views: 1771

Re: I2C Pins

As far as I know GPIO9/10 are used to access SD memory and cannot be used for anything else otherwise the ESP will quite surely reset (just some old boards seems to be ok to use those pins)... If you don't use I2C you can always leave those 2 "empty" in the hardware tab and all will work as you hav...
by randytsuch
05 Jul 2017, 22:02
Forum: ESP Easy: General Discussion
Topic: I2C Pins
Replies: 7
Views: 1771

I2C Pins

Found out the hard way ESP Easy really doesn't like it when you reassign I2C pins, at least the way I did it. I thought there might be a conflict if you wanted to use pins 4 and 5 while they were assigned to SDA and SCL, so I had reassigned them to pins 9 and 10 to SDA and SCL on a couple boards. 9 ...
by randytsuch
16 Jun 2017, 17:23
Forum: ESP Easy: Hardware
Topic: Switch
Replies: 6
Views: 1437

Re: Switch

GPIO0 and GPIO2 have to be high (they are pulled up internally) and GPIO15 has to be low at boot up.

I try not to use GPIO15, and am only using GPIO0 and 2 as inputs that are normally high right now to get around this.

Randy
by randytsuch
14 Jun 2017, 21:33
Forum: ESP Easy: General Discussion
Topic: Problem with Sensor Switch with Domoticz
Replies: 10
Views: 3439

Re: Problem with Sensor Switch with Domoticz

Shardan wrote:
14 Jun 2017, 20:56
randytsuch wrote:
14 Jun 2017, 20:45
I am using GPIO4, 5, 12, 13, 14 and 16 for switches or relays.
How should these be used with a ESP-01?
I don't know. Its why I only bought one ESP-01. I'd rather spend a few more dollars for a Wemos mini d1 and not deal with the ESP-01 limitations.
by randytsuch
14 Jun 2017, 20:45
Forum: ESP Easy: General Discussion
Topic: Problem with Sensor Switch with Domoticz
Replies: 10
Views: 3439

Re: Problem with Sensor Switch with Domoticz

I'm guessing it's because you're using GPIO1. I just setup a ESP with Domticz for my spa, and am using a DS18B20 and some switches and relays with no problem. Try a different IO pin, but stay away from GPIO0, 2 and 15. 0 and 2 have to be high at boot, and 15 low. I am using GPIO4, 5, 12, 13, 14 and ...
by randytsuch
06 Jun 2017, 00:25
Forum: ESP Easy: General Discussion
Topic: ESP Easy on a Wemos D1 Mini Pro
Replies: 1
Views: 2117

ESP Easy on a Wemos D1 Mini Pro

I just bought a few Mini Pro's. I tried to load with R120, 4096 file size, and it didn't work. ESP_0 did not come up. So, I setup Arduino for ESP devices, and loaded the pro with the Arduino tools, and it worked fine. Is this normal? Is this because of the larger flash memory size in the pro? Curiou...