Please read the wiki for configuring the ESP’s : https://github.com/koffienl/ESPimaticRF/wiki/Installing-ESPimaticRF
Since you didn’t upload the files to SPIFFS I think you also didn’t complete the config ?
Announcement: ESPimaticRF coming soon
Please read the wiki for configuring the ESP’s : https://github.com/koffienl/ESPimaticRF/wiki/Installing-ESPimaticRF
Since you didn’t upload the files to SPIFFS I think you also didn’t complete the config ?
Like my projects and help? Consider donating electroneum etnjwAKGPqF6omQWRmpp9u2BPyVDG9VuyRQjNJ1S8yfBdfR9qeUQ46kRy8KS2CNqbpNLRrsgmNW6F2TMzxmZgPrh6KctrkrYbm
That works at the Moment.
I try and use a normal arduino for the Test of homduino and the right gpios.
The ESP with Your Software is running anderen tells homeduino Mode.
I got Port 4 in config.
Connected to D4 or D2 in nodemcu v1
But nothing.
Configured switch2 for the elro devices.
Thanks
NodeMCU pin D4 = GPIO 2
https://pradeepsinghblog.files.wordpress.com/2016/04/nodemcu_pins.png?w=616
Can you post screenshot of the config on both ESP’s ?
Like my projects and help? Consider donating electroneum etnjwAKGPqF6omQWRmpp9u2BPyVDG9VuyRQjNJ1S8yfBdfR9qeUQ46kRy8KS2CNqbpNLRrsgmNW6F2TMzxmZgPrh6KctrkrYbm
I Check the Port again.
Perhaps i got a wrong Code etc.
I Post als Sponsor as ich am at Home in 6 hours.
Thank you
My config.json
{
“settings”: {
“wifi”: {
“ssid”: “WLAN-Cara”,
“password”: “**********”
},
“ESPimaticRF”: {
“mode”: “homeduino”,
“receiverPin”: “0”,
“transmitterPin”: “4”,
“receiveAction”: “1”,
“transmitAction”: “2”,
“UDPrepeat”: “2”,
“pimaticIP”: “”,
“pimaticPort”: “”,
“apikey”: “”,
“BWmode”: “0”
}
}
}
I got a nodemcu v1 esp8266
connected the transmitter on D2
connected the sender on D4
Both with 5Volt power
I got ELRO switches AB440S
following the output of pimatic:
pi@SmartPi:~ $ tail -f pimatic-app/pimatic-daemon.log
15:54:53.541 [pimatic] info: exiting…
15:55:06.595 2017-03-10 Friday
15:55:32.895 [pimatic] info: Starting pimatic version 0.9.38
15:55:43.742 [pimatic, ppm] info: 2.15.11
15:55:43.988 [pimatic] info: Loading plugin: “pimatic-cron” (0.8.8)
15:55:46.806 [pimatic] info: Loading plugin: “pimatic-mobile-frontend” (0.9.11)
15:55:50.431 [pimatic] info: Loading plugin: “pimatic-homeduino” (0.9.11)
15:55:54.907 [pimatic-cron] info: the time is: Fri Mar 10 2017 15:55:54 GMT+0000 (UTC)
15:56:01.245 [pimatic] info: New device “TestDose”…
15:56:02.802 [pimatic-mobile-frontend] info: packing static assets
15:56:04.664 [pimatic-mobile-frontend] info: packing static assets finished
15:56:04.714 [pimatic-mobile-frontend] info: rendering html
15:57:08.689 [pimatic-mobile-frontend] info: rendering html finished
15:57:08.934 [pimatic] info: Listening for HTTP-request on port 80…
15:57:09.105 [pimatic-homeduino] debug: data: "Connecting to :"
15:57:09.123 [pimatic-homeduino] debug: data: "WLAN-Cara"
15:57:09.135 [pimatic-homeduino] debug: data: "{ll��|�d�|
�
d�
b<���▒▒{�c�
#��og�lgo���
cp��${$sdp�g�
�l��
c
o�|l�
�c��g’�lćd�n d
gs�ۓo
�d;��g
c�l�s����$�d`��o��Connecting to :"
15:57:09.146 [pimatic-homeduino] debug: data: "WLAN-Cara"
15:57:09.157 [pimatic-homeduino] debug: data: "."
15:57:09.170 [pimatic-homeduino] debug: data: "."
15:57:09.181 [pimatic-homeduino] debug: data: "."
15:57:09.192 [pimatic-homeduino] debug: data: ""
15:57:09.203 [pimatic-homeduino] debug: data: "Connected to"
15:57:09.214 [pimatic-homeduino] debug: data: "WLAN-Cara"
15:57:09.225 [pimatic-homeduino] debug: data: "IP address:"
15:57:09.236 [pimatic-homeduino] debug: data: "192.168.178.37"
15:57:09.247 [pimatic-homeduino] debug: data: "Receiving op pin 0"
15:57:09.258 [pimatic-homeduino] debug: data: "handleFileRead: /"
15:57:09.269 [pimatic-homeduino] debug: data: "handleFileRead: /js/insert.js"
15:57:09.280 [pimatic-homeduino] debug: data: "handleFileRead: /config.json"
15:57:09.327 [pimatic-homeduino] debug: data: "PING"
15:57:09.412 [pimatic-homeduino] debug: data: "ready"
15:57:09.450 [pimatic-homeduino] info: Connected to homeduino device.
15:57:09.515 [pimatic-homeduino] debug: data: "ready"
15:57:09.555 [pimatic-homeduino] debug: data: "ready"
15:57:09.573 [pimatic-homeduino] debug: data: "ready"
15:57:09.594 [pimatic-homeduino] debug: data: "ready"
15:57:09.611 [pimatic-homeduino] debug: data: "ready"
15:57:09.628 [pimatic-homeduino] debug: data: "ready"
15:57:09.644 [pimatic-homeduino] debug: data: "ready"
15:57:09.661 [pimatic-homeduino] debug: data: "ready"
15:57:09.678 [pimatic-homeduino] debug: data: "ready"
15:57:09.694 [pimatic-homeduino] debug: data: "ready"
15:57:09.711 [pimatic-homeduino] debug: data: "ready"
15:57:09.727 [pimatic-homeduino] debug: data: "ready"
15:57:09.744 [pimatic-homeduino] debug: data: "ready"
15:57:09.761 [pimatic-homeduino] debug: data: "ready"
15:57:09.777 [pimatic-homeduino] debug: data: "ready"
15:57:09.794 [pimatic-homeduino] debug: data: "ready"
15:57:09.812 [pimatic-homeduino] debug: data: "ACK"
15:57:09.837 [pimatic-homeduino] debug: Receiving on pin 0
15:59:44.415 [pimatic-homeduino] debug: Sending Protocol: switch2 houseCode:11011 unitCode:2 all:false state:true Pin:4 Repeats:3
15:59:44.462 [pimatic-homeduino] debug: Sending Protocol: switch3 houseCode:11011 unitCode:2 all:false state:true Pin:4 Repeats:3
15:59:44.700 [pimatic-homeduino] debug: data: "ACK"
15:59:44.974 [pimatic-homeduino] debug: data: "ACK"
15:59:47.218 [pimatic-homeduino] debug: Sending Protocol: switch2 houseCode:11011 unitCode:2 all:false state:false Pin:4 Repeats:3
15:59:47.238 [pimatic-homeduino] debug: Sending Protocol: switch3 houseCode:11011 unitCode:2 all:false state:false Pin:4 Repeats:3
15:59:47.277 [pimatic-homeduino] debug: data: "ACK"
15:59:47.403 [pimatic-homeduino] debug: data: “ACK”
I have no idea whats up
i connected it to the gpio of the pi directly
switched to gpio and ransmitting pin 0 -> wiring pi 0 gpio17
16:44:13.642 [pimatic] info: Listening for HTTP-request on port 80…
16:45:06.238 [pimatic-homeduino] debug: Sending Protocol: switch2 houseCode:11011 unitCode:3 all:false state:false Pin:0 Repeats:3
16:45:07.418 [pimatic-homeduino] debug: data: "ACK"
16:45:12.377 [pimatic-homeduino] debug: Sending Protocol: switch2 houseCode:11011 unitCode:3 all:false state:true Pin:0 Repeats:3
16:45:12.560 [pimatic-homeduino] debug: data: "ACK"
16:45:16.076 [pimatic-homeduino] debug: Sending Protocol: switch2 houseCode:11011 unitCode:3 state:false all:false Pin:0 Repeats:3
16:45:16.094 [pimatic-homeduino] debug: Sending Protocol: switch3 houseCode:11011 unitCode:3 state:false all:false Pin:0 Repeats:3
16:45:16.702 [pimatic-homeduino] debug: data: "ACK"
16:45:17.843 [pimatic-homeduino] debug: data: "ACK"
16:45:18.644 [pimatic-homeduino] debug: Sending Protocol: switch2 houseCode:11011 unitCode:3 state:true all:false Pin:0 Repeats:3
16:45:18.660 [pimatic-homeduino] debug: Sending Protocol: switch3 houseCode:11011 unitCode:3 state:true all:false Pin:0 Repeats:3
16:45:18.983 [pimatic-homeduino] debug: data: "ACK"
16:45:20.123 [pimatic-homeduino] debug: data: “ACK”
BUT NOTHING
with
pi@SmartPi:~/raspberry-remote $ sudo ./send 11011 3 1
using pin 0
sending systemCode[11011] unitCode[3] command[1]
pi@SmartPi:~/raspberry-remote $
over wiring pi, it works, so the sener is ok
@Carsten-Groß said in Announcement: ESPimaticRF coming soon:
My config.json
{
“settings”: {
“wifi”: {
“ssid”: “WLAN-Cara”,
“password”: “************************”
},
“ESPimaticRF”: {
“mode”: “homeduino”,
“receiverPin”: “0”,
“transmitterPin”: “4”,
“receiveAction”: “1”,
“transmitAction”: “2”,
“UDPrepeat”: “2”,
“pimaticIP”: “”,
“pimaticPort”: “”,
“apikey”: “”,
“BWmode”: “0”
}
}
}I got a nodemcu v1 esp8266
connected the transmitter on D2
connected the sender on D4
Both with 5Volt powerI got ELRO switches AB440S
following the output of pimatic:
pi@SmartPi:~ $ tail -f pimatic-app/pimatic-daemon.log
15:54:53.541 [pimatic] info: exiting…
15:55:06.595 2017-03-10 Friday
15:55:32.895 [pimatic] info: Starting pimatic version 0.9.38
15:55:43.742 [pimatic, ppm] info: 2.15.11
15:55:43.988 [pimatic] info: Loading plugin: “pimatic-cron” (0.8.8)
15:55:46.806 [pimatic] info: Loading plugin: “pimatic-mobile-frontend” (0.9.11)
15:55:50.431 [pimatic] info: Loading plugin: “pimatic-homeduino” (0.9.11)
15:55:54.907 [pimatic-cron] info: the time is: Fri Mar 10 2017 15:55:54 GMT+0000 (UTC)
15:56:01.245 [pimatic] info: New device “TestDose”…
15:56:02.802 [pimatic-mobile-frontend] info: packing static assets
15:56:04.664 [pimatic-mobile-frontend] info: packing static assets finished
15:56:04.714 [pimatic-mobile-frontend] info: rendering html
15:57:08.689 [pimatic-mobile-frontend] info: rendering html finished
15:57:08.934 [pimatic] info: Listening for HTTP-request on port 80…
15:57:09.105 [pimatic-homeduino] debug: data: "Connecting to :"
15:57:09.123 [pimatic-homeduino] debug: data: "WLAN-Cara"
15:57:09.135 [pimatic-homeduino] debug: data: "{ll��|�d�|
�
d�
b<���▒▒{�c�
#��og�lgo���
cp��${$sdp�g�
�l��
c
o�|l�
�c��g’�lćd�n d
gs�ۓo�d;��g
c�l�s����$�d`��o��Connecting to :"
15:57:09.146 [pimatic-homeduino] debug: data: "WLAN-Cara"
15:57:09.157 [pimatic-homeduino] debug: data: "."
15:57:09.170 [pimatic-homeduino] debug: data: "."
15:57:09.181 [pimatic-homeduino] debug: data: "."
15:57:09.192 [pimatic-homeduino] debug: data: ""
15:57:09.203 [pimatic-homeduino] debug: data: "Connected to"
15:57:09.214 [pimatic-homeduino] debug: data: "WLAN-Cara"
15:57:09.225 [pimatic-homeduino] debug: data: "IP address:"
15:57:09.236 [pimatic-homeduino] debug: data: "192.168.178.37"
15:57:09.247 [pimatic-homeduino] debug: data: "Receiving op pin 0"
15:57:09.258 [pimatic-homeduino] debug: data: "handleFileRead: /"
15:57:09.269 [pimatic-homeduino] debug: data: "handleFileRead: /js/insert.js"
15:57:09.280 [pimatic-homeduino] debug: data: "handleFileRead: /config.json"
15:57:09.327 [pimatic-homeduino] debug: data: "PING"
15:57:09.412 [pimatic-homeduino] debug: data: "ready"
15:57:09.450 [pimatic-homeduino] info: Connected to homeduino device.
15:57:09.515 [pimatic-homeduino] debug: data: "ready"
15:57:09.555 [pimatic-homeduino] debug: data: "ready"
15:57:09.573 [pimatic-homeduino] debug: data: "ready"
15:57:09.594 [pimatic-homeduino] debug: data: "ready"
15:57:09.611 [pimatic-homeduino] debug: data: "ready"
15:57:09.628 [pimatic-homeduino] debug: data: "ready"
15:57:09.644 [pimatic-homeduino] debug: data: "ready"
15:57:09.661 [pimatic-homeduino] debug: data: "ready"
15:57:09.678 [pimatic-homeduino] debug: data: "ready"
15:57:09.694 [pimatic-homeduino] debug: data: "ready"
15:57:09.711 [pimatic-homeduino] debug: data: "ready"
15:57:09.727 [pimatic-homeduino] debug: data: "ready"
15:57:09.744 [pimatic-homeduino] debug: data: "ready"
15:57:09.761 [pimatic-homeduino] debug: data: "ready"
15:57:09.777 [pimatic-homeduino] debug: data: "ready"
15:57:09.794 [pimatic-homeduino] debug: data: "ready"
15:57:09.812 [pimatic-homeduino] debug: data: "ACK"
15:57:09.837 [pimatic-homeduino] debug: Receiving on pin 0
15:59:44.415 [pimatic-homeduino] debug: Sending Protocol: switch2 houseCode:11011 unitCode:2 all:false state:true Pin:4 Repeats:3
15:59:44.462 [pimatic-homeduino] debug: Sending Protocol: switch3 houseCode:11011 unitCode:2 all:false state:true Pin:4 Repeats:3
15:59:44.700 [pimatic-homeduino] debug: data: "ACK"
15:59:44.974 [pimatic-homeduino] debug: data: "ACK"
15:59:47.218 [pimatic-homeduino] debug: Sending Protocol: switch2 houseCode:11011 unitCode:2 all:false state:false Pin:4 Repeats:3
15:59:47.238 [pimatic-homeduino] debug: Sending Protocol: switch3 houseCode:11011 unitCode:2 all:false state:false Pin:4 Repeats:3
15:59:47.277 [pimatic-homeduino] debug: data: "ACK"
15:59:47.403 [pimatic-homeduino] debug: data: “ACK”I have no idea whats up
You might want to be a bit more cautious with posting your Wifi credentials on public internet forums…
@Rene-Arts Thanks
but they got changed every week ^^
@Carsten-Groß said in Announcement: ESPimaticRF coming soon:
@Rene-Arts Thanks
but they got changed every week ^^
Ah well then, it should be fine. Just a quick warn. Have a nice weekend!
Could you please post code in code-tags: https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#code
I’m not fully understanding your situation.
So : you connected the sender to the GPIO of the pi and it doesn’t work. But wth wiringpi it works?
Like my projects and help? Consider donating electroneum etnjwAKGPqF6omQWRmpp9u2BPyVDG9VuyRQjNJ1S8yfBdfR9qeUQ46kRy8KS2CNqbpNLRrsgmNW6F2TMzxmZgPrh6KctrkrYbm
I send you Fotos after breakfast.
Yes. Wiringpi works.
But pimatic Homematic Not. Configured gpio Pin 0 in Homematic. Witch is gpio 17 in Pi. And 0 in wiringpi.
Could there ans rights Problem ? Or something ?
I cant get serial in the ESP with cu because when i Connect, the Homematic cant send
But do you intend to use extra ESP’s? Because if you don’t you could just use a nano with homeduino
Like my projects and help? Consider donating electroneum etnjwAKGPqF6omQWRmpp9u2BPyVDG9VuyRQjNJ1S8yfBdfR9qeUQ46kRy8KS2CNqbpNLRrsgmNW6F2TMzxmZgPrh6KctrkrYbm
my plan is to connect 1 esp826 nodemcu to the pi, and one for every room in the house.
with esp in homeduino mode: (config like above)
https://drive.google.com/file/d/0B33s4ThKaedaem9Ebk5WZWlsNVE/view?usp=sharing
Connected directly:
https://drive.google.com/file/d/0B33s4ThKaedaTDBvSDktcHhpdVE/view?usp=sharing
Thank you very much for your help
edit:
this is my switch
https://drive.google.com/file/d/0B33s4ThKaedaY1hLNG9YdnEwRTQ/view?usp=sharing
am i rigth that the Housecode is: 11011 ?
am i righ that the ID: is 3 or 00100 or 11 ?
Is this the first time you are trying to get this sender working at all with pimatic or have you got this specific RF sender in a previous setup with pimatic?
Like my projects and help? Consider donating electroneum etnjwAKGPqF6omQWRmpp9u2BPyVDG9VuyRQjNJ1S8yfBdfR9qeUQ46kRy8KS2CNqbpNLRrsgmNW6F2TMzxmZgPrh6KctrkrYbm
this is the only one i got, others are ordered. This specific one works with my other pi with wiring pi und rc-switch and like described above with the pimatic pi with wiring-pr directly.
Perhaps i use the wrong switch2/3/4 or false order, but i dont know, perhaps its a pimatic problem in the background i cant see
After a lot of problems i have a raspberry pi with a esp mini running.
I have a sender and a receiver connect to the esp module so not in node mode.
Sending is working but i have some problems with receiving
@ this moment i received some codes from the HomeduinoRFWeatherStation but pimatic doesn’t do anything.
My log file:
Log messages
Debug, Error
2
LevelDebugInfoWarnError
All
Showing 35 of 91 Messages
2017-03-17 12:42:17debug [pimatic-homeduino]: received: [ 1548, 2628, 4696 ] 0001111010000000110001011111001010012
12:42:17debug [pimatic-homeduino]: data: "RF receive 1548 2628 4696 0 0 0 0 0 0001111010000000110001011111001010012"
12:40:33debug [pimatic-homeduino]: received: [ 1196, 4440 ] 0000000000000000000000000000000000001
12:40:33debug [pimatic-homeduino]: data: "RF receive 1196 4440 0 0 0 0 0 0 0000000000000000000000000000000000001"
12:40:33debug [pimatic-homeduino]: received: [ 1196, 4456 ] 0000000000000000000000000000000000001
12:40:33debug [pimatic-homeduino]: data: "RF receive 1196 4456 0 0 0 0 0 0 0000000000000000000000000000000000001"
12:40:24debug [pimatic-homeduino]: received: [ 432, 1556, 2600, 4700 ] 11122221211111112211121222221120121123
12:40:24debug [pimatic-homeduino]: data: "RF receive 1556 2600 432 4700 0 0 0 0 00011110100000001100010111110012010013"
12:40:24debug [pimatic-homeduino]: received: [ 1548, 2628, 4700 ] 0001111010000000110001011111001010012
12:40:23debug [pimatic-homeduino]: data: "RF receive 1548 2628 4700 0 0 0 0 0 0001111010000000110001011111001010012"
12:39:26debug [pimatic-homeduino]: received: [ 1548, 2624, 4696 ] 0001111010000000110001011111001010012
12:39:26debug [pimatic-homeduino]: data: "RF receive 1548 2624 4696 0 0 0 0 0 0001111010000000110001011111001010012"
12:38:29debug [pimatic-homeduino]: received: [ 1548, 2628, 4696 ] 0001111010000000110001011111001010012
12:38:29debug [pimatic-homeduino]: data: "RF receive 1548 2628 4696 0 0 0 0 0 0001111010000000110001011111001010012"
12:37:32debug [pimatic-homeduino]: received: [ 1548, 2628, 4696 ] 0001111010000000110001011111001010012
12:37:32debug [pimatic-homeduino]: data: "RF receive 1548 2628 4696 0 0 0 0 0 0001111010000000110001011111001010012"
12:35:38debug [pimatic-homeduino]: received: [ 1548, 2628, 4696 ] 0001111010000000110001011111001010012
12:35:38debug [pimatic-homeduino]: data: "RF receive 1548 2628 4696 0 0 0 0 0 0001111010000000110001011111001010012"
12:35:26debug [pimatic-homeduino]: received: [ 316, 1208, 4548 ] 11011111111111111111111111111111111112
12:35:26debug [pimatic-homeduino]: data: "RF receive 1208 316 4548 0 0 0 0 0 00100000000000000000000000000000000002"
12:35:26debug [pimatic-homeduino]: received: [ 1216, 4548 ] 0000000000000000000000000000000000001
12:35:26debug [pimatic-homeduino]: data: "RF receive 1216 4548 0 0 0 0 0 0 0000000000000000000000000000000000001"
12:35:26debug [pimatic-homeduino]: received: [ 1216, 4556 ] 0000000000000000000000000000000000001
12:35:26debug [pimatic-homeduino]: data: "RF receive 1216 4556 0 0 0 0 0 0 0000000000000000000000000000000000001"
12:34:59debug [pimatic-homeduino]: received: [ 1212, 4540 ] 0000000000000000000000000000000000001
12:34:59debug [pimatic-homeduino]: data: "RF receive 1212 4540 0 0 0 0 0 0 0000000000000000000000000000000000001"
12:33:45debug [pimatic-homeduino]: received: [ 1556, 2628, 4704 ] 0001111010000000110001011111001010012
12:33:45debug [pimatic-homeduino]: data: "RF receive 1556 2628 4704 0 0 0 0 0 0001111010000000110001011111001010012"
12:32:48debug [pimatic-homeduino]: received: [ 1548, 2636, 4704 ] 0001111010000000110001011111001010012
12:32:48debug [pimatic-homeduino]: data: "RF receive 1548 2636 4704 0 0 0 0 0 0001111010000000110001011111001010012"
12:31:17debug [pimatic-homeduino]: Receiving on pin 0
12:31:17debug [pimatic-homeduino]: data: "ACK"
12:31:15debug [pimatic-homeduino]: data: "ready"
12:31:13debug [pimatic-homeduino]: data: "PING"
12:29:03debug [pimatic]: debug is true in plugin config, showing debug output for pimatic-homeduino.
My config
{
“plugin”: “homeduino”,
“driver”: “serialport”,
“driverOptions”: {
“serialDevice”: “/dev/ttyUSB0”,
“baudrate”: 115200
},
“enableReceiving”: true,
“receiverPin”: 0,
“transmitterPin”: 4,
“debug”: true
},
Config
Mode homeduino
Receiver pin 0
Transmitter pin 4
Receive Action sent to pimatic
Transmit Action transmit with local RF
UDP Repeat 1
Wifi SSID
Wifi Password
••••••••••••••••
Also when i want to add a device menu–>devices–> discovery devices and i push on the remote control no device is found.
can somebody help me?
The weather station is not yet known to pimatic. The protocol needs to be created first. That’s why you cannot discover your device correctly.
Which weather station do you use?
Have you tried to receive some other rf devices eg. Power outlets ?
pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebook
make it so !
If i use only the raspberry pi with rf sensors everything is working fine with the weather station.
Oh that’s strange!! @koffienl do you have a clue?
pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebook
make it so !