Search found 30 matches

by vince59
14 Feb 2020, 15:20
Forum: ESP Easy: Software
Topic: ESP8266...openhab...mosquitto...MQTT...nightmare
Replies: 40
Views: 22609

Re: ESP8266...openhab...mosquitto...MQTT...nightmare

I did several tests and to get some practice I did everything from the beginning. I added MQTT state topic and MAP files. APP activates switches and shows icon and switch changing color/state and ON/OFF indication. WEB gui changes switch position accordingly. Only weird thing is that the rel 1 (rela...
by vince59
13 Feb 2020, 15:21
Forum: ESP Easy: Software
Topic: ESP8266...openhab...mosquitto...MQTT...nightmare
Replies: 40
Views: 22609

Re: ESP8266...openhab...mosquitto...MQTT...nightmare

1. Switch the relay_x-item to 'veto an auto update' 2. Create a file 'relay0.map' (you need a seperate for each relay-command) in the 'transform' subfolder of your OH-installation. Maybe with linux linefeeds !? with the following content: OFF=Relay,0,0 ON=Relay,0,1 0=OFF 1=ON 3. Change the relay_x-...
by vince59
13 Feb 2020, 10:30
Forum: ESP Easy: Software
Topic: ESP8266...openhab...mosquitto...MQTT...nightmare
Replies: 40
Views: 22609

Re: ESP8266...openhab...mosquitto...MQTT...nightmare

Very nice option. After initial frustration I feel quite enthusiast about OH. I am trying to understand what would be best hardware setup for my project IoT. It is a small project with 4/5 switches and some sensors. I realized thet it is a MUST to have a pc always running OH so I am looking at raspb...
by vince59
12 Feb 2020, 20:43
Forum: ESP Easy: Software
Topic: ESP8266...openhab...mosquitto...MQTT...nightmare
Replies: 40
Views: 22609

Re: ESP8266...openhab...mosquitto...MQTT...nightmare

Micha, I can't follow you right now. I have to understand what you mean on the practical side. If I am correct you want to monitor the actual state of the relays. Am I correct? So far I ma very satisfied the system is working and I get a grip on the procedure and how the system works. I believe open...
by vince59
12 Feb 2020, 15:25
Forum: ESP Easy: Software
Topic: ESP8266...openhab...mosquitto...MQTT...nightmare
Replies: 40
Views: 22609

Re: ESP8266...openhab...mosquitto...MQTT...nightmare

Thanks I will give it a try...free beer for you in Munich!!! :mrgreen:
by vince59
12 Feb 2020, 15:03
Forum: ESP Easy: Software
Topic: ESP8266...openhab...mosquitto...MQTT...nightmare
Replies: 40
Views: 22609

Re: ESP8266...openhab...mosquitto...MQTT...nightmare

Hey Micha_he, super! It works. I have the control panel working and now it is quite clear to me what/where to write and this is very important for better understanding of the whole system. I had to remove the "/" at the beginning of the MQTT Command Topic Next step is to control from the i...
by vince59
11 Feb 2020, 23:29
Forum: ESP Easy: Software
Topic: ESP8266...openhab...mosquitto...MQTT...nightmare
Replies: 40
Views: 22609

Re: ESP8266...openhab...mosquitto...MQTT...nightmare

Correction: The examples are OK, but config-files are not created, when use the OH-web-interface to create things and so on. My private configuration is via txt-files :-( Have you configured the broker(-thing) via web-interface or via textfiles? Correct, you've a thing like 'MQTT broker' and this t...
by vince59
11 Feb 2020, 15:07
Forum: ESP Easy: Software
Topic: ESP8266...openhab...mosquitto...MQTT...nightmare
Replies: 40
Views: 22609

Re: ESP8266...openhab...mosquitto...MQTT...nightmare

About MQTT binding question. I am using MQTT binding. You haven't answered the MQTT-binding-version question yet. Look under 'Add-ons/Binding/MQTT-Binding...' Which version is installed on your OH ? The configuration differs significantly ! Or mean 'MQTT binding' that you have installed version 2.5...
by vince59
10 Feb 2020, 20:32
Forum: ESP Easy: Software
Topic: ESP8266...openhab...mosquitto...MQTT...nightmare
Replies: 40
Views: 22609

Re: ESP8266...openhab...mosquitto...MQTT...nightmare

Maybe OpenHAB-Log or PaperUI (with binding V2.x) Which MQTT-binding do you use in OpenHAB, 2.x or 1.x ? They use a different configuration. (so far my experience is based on V1.x) With 2.x the following example/test could help: rule "MQTT_TEST" when Time cron "0 */1 * ? * *" //e...
by vince59
10 Feb 2020, 19:37
Forum: ESP Easy: Software
Topic: ESP8266...openhab...mosquitto...MQTT...nightmare
Replies: 40
Views: 22609

Re: ESP8266...openhab...mosquitto...MQTT...nightmare

Are you absolutely sure it is localhost for MQTT fx? Even when it is localhost, please try using the same IP-address as you are using in ESPEasy, just to be sure. Same IP-address (off course ESP8266 is another IP) On what computer is the OpenHAB MQTT broker running? Broker is OH Embedded one, so in...
by vince59
10 Feb 2020, 19:21
Forum: ESP Easy: Software
Topic: ESP8266...openhab...mosquitto...MQTT...nightmare
Replies: 40
Views: 22609

Re: ESP8266...openhab...mosquitto...MQTT...nightmare

Test with MQTT fx: Config settings: broker address: local host (same machine ad OH) broker port : 1883 (same as ...) [...] Are you absolutely sure it is localhost for MQTT fx? Even when it is localhost, please try using the same IP-address as you are using in ESPEasy, just to be sure. On what compu...
by vince59
10 Feb 2020, 19:17
Forum: ESP Easy: Software
Topic: ESP8266...openhab...mosquitto...MQTT...nightmare
Replies: 40
Views: 22609

Re: ESP8266...openhab...mosquitto...MQTT...nightmare

No,... /LCTech/cmd in publish and... relay,1,1 in message box. No spaces ! :mrgreen: Super Mein Freund IT WORKS!!!!!!!!!!!!!!!!! Alles Klar!!!!IN you are in the Munich area a beer for you!! (I lived four years in Germany and my daughter lives in Munich!) One silly question....am I now controlling f...
by vince59
10 Feb 2020, 17:40
Forum: ESP Easy: Software
Topic: ESP8266...openhab...mosquitto...MQTT...nightmare
Replies: 40
Views: 22609

Re: ESP8266...openhab...mosquitto...MQTT...nightmare

Test with MQTT fx: Config settings: broker address: local host (same machine ad OH) broker port : 1883 (same as ...) Suscribe: LCTech (ESP name) Publish: LCTech into subscribed topic box (box with single line) write message in the large box /LCTech/cmd relay 1,1 press publish button. No effect on th...
by vince59
10 Feb 2020, 12:42
Forum: ESP Easy: Software
Topic: ESP8266...openhab...mosquitto...MQTT...nightmare
Replies: 40
Views: 22609

Re: ESP8266...openhab...mosquitto...MQTT...nightmare

Thanks for the explanation...some doubts about what to do as these are my first step and I still have some "confusion" using proper terminology: ESPEasy: ESPEasy connects to broker. See following log message: MQTT : Connected to broker with client ID: ESPClient_DC:4F:22:56:EA:6B 14394002: ...
by vince59
09 Feb 2020, 22:17
Forum: ESP Easy: Software
Topic: ESP8266...openhab...mosquitto...MQTT...nightmare
Replies: 40
Views: 22609

Re: ESP8266...openhab...mosquitto...MQTT...nightmare

...well so far it seems it is ok. I have same IP and port in MQTT fx and ESPeasy setting. ESPEasy log shows: - connected to broker MQTT broker with client ID: xxxxx - subscriberd to: xxxxxxx and so on. MQTT fx shows connection and message transfer. What now? I still have some confusion about openhab...
by vince59
09 Feb 2020, 19:38
Forum: ESP Easy: Software
Topic: ESP8266...openhab...mosquitto...MQTT...nightmare
Replies: 40
Views: 22609

Re: ESP8266...openhab...mosquitto...MQTT...nightmare

Hey TD-er, I do not have Mosquitto installed as my understanding is that you can stay WITHOUT it if using embedded openhab broker. The software (openhab) and the devices are in the same net. Openhab has port 1883. Myabe this is a silly question...is the openhab IP the same as the broker? BTW I fixed...
by vince59
09 Feb 2020, 18:55
Forum: ESP Easy: Software
Topic: ESP8266...openhab...mosquitto...MQTT...nightmare
Replies: 40
Views: 22609

Re: ESP8266...openhab...mosquitto...MQTT...nightmare

I believe I have NOT managed the connection between ESP and MQTT server. I do not understand...do not know... the "concept". I guess I do something wrong with Controller Subscribe: and Controller Publish: boxes in ESPEasy and channell setting MQTT State and Command Topic in Openhab. I have...
by vince59
09 Feb 2020, 13:05
Forum: ESP Easy: Software
Topic: ESP8266...openhab...mosquitto...MQTT...nightmare
Replies: 40
Views: 22609

Re: ESP8266...openhab...mosquitto...MQTT...nightmare

Guten Tag Micha_he, I know abotu my answer but I was disappointed it does not work. These are my first steps into IoT and I feel the software is not so friendly. Let me give you an overall view. I simply started with a couple of ESP8266 and a 4 relays module (the module that comes with the ESP8266 b...
by vince59
09 Feb 2020, 00:01
Forum: ESP Easy: Software
Topic: ESP8266...openhab...mosquitto...MQTT...nightmare
Replies: 40
Views: 22609

Re: ESP8266...openhab...mosquitto...MQTT...nightmare

I am not able to configure the fuc... ESP8266 and the fuc... MQTT...WTF :evil: :evil: :evil: :evil: :evil:
by vince59
08 Feb 2020, 10:27
Forum: ESP Easy: Software
Topic: ESP8266...openhab...mosquitto...MQTT...nightmare
Replies: 40
Views: 22609

Re: ESP8266...openhab...mosquitto...MQTT...nightmare

Hey, thanks for your advice. I watched the video and some light at the end of the tunnel is seen. :D I feel I am close to have it working. I was able to use the embedded openhab broker, install and use MQTT fx and follow the video but I stopped where the guy sets the channel configuration in openhab...
by vince59
07 Feb 2020, 00:10
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 960018

Re: Serial MCU controlled relay/switch

Definitely there is something I do not understand...I do not know what I am doing wron or not doing. I can control relay via http with ESPEasy as well as wih Domoticz but I did not manage to gain control over the web. I am trying to install Mosquitto to be used with openHab but so far no success. Mo...
by vince59
06 Feb 2020, 17:31
Forum: ESP Easy: Software
Topic: ESP8266...openhab...mosquitto...MQTT...nightmare
Replies: 40
Views: 22609

Re: ESP8266...openhab...mosquitto...MQTT...nightmare

Thanks for the explanation.
So far I downloaded and installed Mosquitto. I am trying now to understand how to work with them.
I searched some guide over the web but no success.
I need to understand the basic principle of functioning to make it work...I am stopped at this point.
by vince59
05 Feb 2020, 23:04
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 960018

Re: Serial MCU controlled relay/switch

köszönöm my friend :mrgreen: I tried the last PUYA file. It works, I have wifi network and connection as well.Actually one of the ESP is not getting wifi when inserted in the relay module, the other one works good. So I was able to setup ESPEasy and even control the relay through the "tools&quo...
by vince59
05 Feb 2020, 20:20
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 960018

Re: Serial MCU controlled relay/switch

Dear friend, I have 2 devices (different version old ESP 01 and ESP 1s) and I tried 3 firmwares. I got the device properly connected and working with PUYA and 120 release as well as with stock firmware. When flashed with these fw the ESPs work correctly when connected to the USB adapter as well when...
by vince59
05 Feb 2020, 18:43
Forum: ESP Easy: Software
Topic: ESP8266...openhab...mosquitto...MQTT...nightmare
Replies: 40
Views: 22609

ESP8266...openhab...mosquitto...MQTT...nightmare

As explained in another thread I am trying to get something working...but non success. I really found all this flashing, configuring, openhabbing and other a nightmare :roll: :oops: Able to flash ESPEasy, to have the GUI working...able to install openhab (I find this very very unfriendly and really ...
by vince59
04 Feb 2020, 23:48
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 960018

Re: Serial MCU controlled relay/switch

I feel somehow discouraged. I am not expert but a selfmade hobbyst. I was able to flash the ESPEasy (right now I am working with ESP8266-1 as this is installed on the relay module). I flashed release 120 to test and the PUYA version. Apparently the mega firmware does not work as I do not see the ESP...
by vince59
02 Feb 2020, 15:01
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 960018

Re: Serial MCU controlled relay/switch

Thanks for your answer. I need to study the subject as I am not quite confident how to proceed and then what software to use. In the meantime I was able to reprogram the ESP8266-1 and make it work again with wifi direct and through the router. BTW I have a question. I am using two ESP modules flashe...
by vince59
30 Jan 2020, 21:59
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 960018

Re: Serial MCU controlled relay/switch

Hey all. My first post after a quite long reading. I am playing with IoT and had some successes....quite simple tests. I would like to use a lctech 4 relay channell with ESP8266 over the internet and my understanding is I must flash a new firmware. The one that could apply to my device seems to be t...
by vince59
30 Jan 2020, 21:50
Forum: Introduce yourself
Topic: greeting from Italy
Replies: 1
Views: 6392

greeting from Italy

Hey all, new member from Italy. I am a selfmade hobbyist now payin with IoT. I had some success and I ma trying to make some progress. Hope some day to be helpful.