@lschip You can place as many nodes as you want, without a ESPimaticRF in hommeduino mode attached to the Pi. This will only give you the ability to capture RF where the nodes are placed and send it over to Pimatic over wifi. But to relay the RF signal from Pimatic to nodes over wifi you will need a ESPImaticRF attached to the Raspberry Pi.
-
Announcement: ESPimaticRF coming soon
Like my projects and help? Consider donating electroneum etnjwAKGPqF6omQWRmpp9u2BPyVDG9VuyRQjNJ1S8yfBdfR9qeUQ46kRy8KS2CNqbpNLRrsgmNW6F2TMzxmZgPrh6KctrkrYbm
-
@koffienl said in Announcement: ESPimaticRF coming soon:
If possible, please try the test - it’s the only option to figure out what’s going wrong
Also, please try to do this at the location where the ESPimaticRF node is laying around currently. Based on the Serial Monitor log we can determine if it’s a problem between homeduino -> node , or node -> RF(also : what is the current number of UDP repeats on the ESPimaticRF homeduino ESP ? )
[504,4012,1988,9020]01010101020202010101010201010202010202020201020202010202020202020102010103
Ik ontvang RF uit de lucht, doorsturen!
Receive message from homeduino, protocol:switch1 , unit:0 , id:9406938Pimatic:
debug [pimatic-homeduino]: data: "57183939{“buckets”:{“0”:“268”,“1”:“1282”,“2”:“2632”,“3”:“10168”,“4”:“0”,“5”:“0”,“6”:“0”,“7”:“0”},“repeats”:“7”,“pulse”:“020001000101000001000100010100010001000100010000010001000101000001000101000100010000010100010000010100000100010100000100010001000103”,“protocol”:“switch1”,“unit”:“0”,“id”:“9406938”}"
20:31:43debug [pimatic-homeduino]: data: "ACK"
20:31:43debug [pimatic-homeduino]: Sending Protocol: switch1 unit:0 id:9406938 all:false state:true Pin:4 Repeats:7I have changed the repeats to 7, It seems better now. Will test it the next days…
-
Do you have a problem with the RF being relayed by the node to the shutter, or are you missing RF to pimatic?
Like my projects and help? Consider donating electroneum etnjwAKGPqF6omQWRmpp9u2BPyVDG9VuyRQjNJ1S8yfBdfR9qeUQ46kRy8KS2CNqbpNLRrsgmNW6F2TMzxmZgPrh6KctrkrYbm
-
No, it is because sometimes the RF does not reach the device for some reason. It is like it has a bad receiption.
-
Is the tranmitter on the node connected tot 3v or 5v ?
Like my projects and help? Consider donating electroneum etnjwAKGPqF6omQWRmpp9u2BPyVDG9VuyRQjNJ1S8yfBdfR9qeUQ46kRy8KS2CNqbpNLRrsgmNW6F2TMzxmZgPrh6KctrkrYbm
-
5V, both are WeMos controller
-
Hmm sounds like RF issue indeed.
You upped the RF repeat number, that’s good. any repeat number given by Pimatic with the RF command is obeyed by the node. If you tell pimatic to do 10 repeats, the node will also do 10 repeats.
You can change the repeat value for one specific device in the config in pimatic, this will keep the RF traffic for other devices as low as possible.(you posted you changed the repeats to 7, but 7 repeats is allready the default repeats for Pimatic. Perheps you want to increase that number to 10 for the specific shutterdevice)
Like my projects and help? Consider donating electroneum etnjwAKGPqF6omQWRmpp9u2BPyVDG9VuyRQjNJ1S8yfBdfR9qeUQ46kRy8KS2CNqbpNLRrsgmNW6F2TMzxmZgPrh6KctrkrYbm
-
@koffienl :
I have trouble with ESPimaticRF and SPIFFS.
The “normal” ESPimatic has the same issue.
Other ESP examples work without problems.After power on. Nothing. No Debug message over console.
Can you give me a hint?
ESP8266-01 4MB/1MB FSIf I comment out the SPIFFS part the AP works, but has expected filesystem errors.
// Check if SPIFFS is OK if (!SPIFFS.begin()) { Serial.println("SPIFFS failed, needs formatting"); handleFormat(); delay(500); ESP.restart(); } else { FSInfo fs_info; if (!SPIFFS.info(fs_info)) { Serial.println("fs_info failed\n"); } }
-
Are you sure you’re giving it time? SPIFFS format can take up to 1 or 2 minutes.
Like my projects and help? Consider donating electroneum etnjwAKGPqF6omQWRmpp9u2BPyVDG9VuyRQjNJ1S8yfBdfR9qeUQ46kRy8KS2CNqbpNLRrsgmNW6F2TMzxmZgPrh6KctrkrYbm
-
Maybe I could not wait
I will give it an other try. THX -
and sure it is a 8Mbit / 1 MB esp-01?
the older modules have 512KB ram, so you are only able to use 128KB spiffs.pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebookmake it so !
-
@leader21 That was it!
It was my first contact with the ESP’s.
With 1MB (512K SPIFFS) the sketch works.I’m a little bit confused.
My chip has 1 MB internal flash? and an external 4 MB flash chip.The SPIFFS is only on the internal flash, isn′t it?
I was thinking that the SPIFFS is on the external flash. -
ok nice to hear you found the issue.
the flash of the esp chips is splitted in two parts. one is for the firmware sketch, the other is the spiff.
if your chip has 1 Megabyte Flash, this is totally 1 MB, so you can split it up 512KB firmware / 512 KB spiffs for filesystem
that’s the way it works for all esp modules.
of course it’s a configuration option which spiff size you use. you can also have no spiffs at all.pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebookmake it so !
-
Also note that these sizes are megabit, so 512 kilobit SPIFFS is a total of 64 kilobyte storage, I don’t think that the files for ESPimaticRF are going to fit on such tiny space.
Like my projects and help? Consider donating electroneum etnjwAKGPqF6omQWRmpp9u2BPyVDG9VuyRQjNJ1S8yfBdfR9qeUQ46kRy8KS2CNqbpNLRrsgmNW6F2TMzxmZgPrh6KctrkrYbm
-
@koffienl nope, does not fit on a 512KB (kilobyte) ESP01 module, already tried that (even with compressed files). the max spiffs you can set is 128KB and even this is not enough. you can tweak the arduino ide to have 256KB flash and 256KB spiffs but I did not try this.
i wouldn’t go for an esp01 anyways! the costs are approx the same as for an 4MB (megabyte) version of an ESP12 and the ESP12 is much more comfortable for flashing and usage, but we already discussed that in some threads.pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebookmake it so !
-
I agree
A Wemos D1 mini as almost the same physical size as a ESP-01If you really are in need : upload sketch and format the SPIFFS. After that upload only edit.html and reboot. after that goto http://espimaticrf_ip/edit.html and manually edit config.json (save with ALT-S).
Like my projects and help? Consider donating electroneum etnjwAKGPqF6omQWRmpp9u2BPyVDG9VuyRQjNJ1S8yfBdfR9qeUQ46kRy8KS2CNqbpNLRrsgmNW6F2TMzxmZgPrh6KctrkrYbm
-
Downloaded all the files, though unable to upload
Any direction would be appreciated./home/user/ESPimaticRF/ESPimaticRF.ino:19:27: fatal error: SerialCommand.h: No such file or directory
#include <SerialCommand.h>
^
compilation terminated.
exit status 1 -
What version of Arduino IDE and ESP8266 for Arduino are you using?
Like my projects and help? Consider donating electroneum etnjwAKGPqF6omQWRmpp9u2BPyVDG9VuyRQjNJ1S8yfBdfR9qeUQ46kRy8KS2CNqbpNLRrsgmNW6F2TMzxmZgPrh6KctrkrYbm
-
@koffienl said in Announcement: ESPimaticRF coming soon:
What version of Arduino IDE and ESP8266 for Arduino are you using?
Running the latest Arduino IDE 1.6.13 and 2.3.0 esp8266 for Arduino.
Selected the NodeMCU 0.9 from the bord list.Will do some more testing on my windows laptop. It’s probably a local thing
-
recommended is 1.6.5 and bm 2.3.0
try this. works for me
pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebookmake it so !