Are you sure you’re giving it time? SPIFFS format can take up to 1 or 2 minutes.
-
Announcement: ESPimaticRF coming soon
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 !
-
This post is deleted!
-
Try with Arduino IDE 6.5.5 please and see if the error still shows.
Like my projects and help? Consider donating electroneum etnjwAKGPqF6omQWRmpp9u2BPyVDG9VuyRQjNJ1S8yfBdfR9qeUQ46kRy8KS2CNqbpNLRrsgmNW6F2TMzxmZgPrh6KctrkrYbm
-
@koffienl said in Announcement: ESPimaticRF coming soon:
Try with Arduino IDE 6.5.5 please and see if the error still shows.
The sketchbook location wasn’t set in preferences.
After this the build worked.
Used the 1.6.5 IDE and was able to upload.Working now, thanks
-
Wow this is pretty cool Thank you for your work Koffie!
…but I have a problem with this. So I only can receive from the Node, and sending a signal does not work at Master and Node. Here is my config:
2 esp’s D1 mini with superheterodyne Receiver and Transmitter
I used Arduino IDE 1.6.5 with esp 2.3.0 to flash the software (no errors by flashing)and some pictures.
Maybe somebody can help me?
Merry Christmas and a happy new yearDa mein Englisch zum wegrennen ist, hier auch noch mal auf deutsch…
Erstmal herzlichen Dank für deine Arbeit Koffie! Diese Funktion habe ich mir schon lange gewünscht!
Leider habe ich ein Problem:
Empfangen kann ich nur über den Node, Senden geht gar nicht, da kommt nach einer Zeit immer: OPS Timeout!
Ich nutze diese ESP8266: http://www.ebay.de/itm/291970361104?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AITZum Flashen der ESP’s habe ich Arduino IDE 1.6.5 mit dem ESP 2.3.0 genutzt. Gab auch keine Fehler während des schreibens.
Vielleicht kann ja einer helfen
Danke im Voraus und frohe Weihnachten und einen guten Rutsch ins neue Jahr!
{ "plugin": "homeduino", "driver": "serialport", "driverOptions": { "serialDevice": "/dev/ttyUSB0", "baudrate": 115200 }, "enableReceiving": true, "receiverPin": 0, "transmitterPin": 4, "debug": true, "apikey": "951480", "connectionTimeout": 300000, "rfrepeats": 10 },
-
So the node cn pickup RF and send it to Pimatic, correct?
Sending from pimatic does not give errors, but doesn’t send RF, correct?
Can you post some debug from the console/homeduino when doing a send from pimatic?Since you have a RF sender attached to your homeduino Wemos, can you change the trandmit action to “Transmit with local RF” and reboot the homeduino?
If sending straight from the homeduino is working, you mimght want to increase the UDP repeats to 6.Wiring on your pictures looks OK (the breadboard below is the homeduino and the upper on is node?) , but the senders you have choosen are not the very best.
Like my projects and help? Consider donating electroneum etnjwAKGPqF6omQWRmpp9u2BPyVDG9VuyRQjNJ1S8yfBdfR9qeUQ46kRy8KS2CNqbpNLRrsgmNW6F2TMzxmZgPrh6KctrkrYbm
-
ok, I’m on the right way, I think
-
So I have exchanged the receivers, and I think that one receiver is defekt, so I can only reveive from the node or from the homeduino…
-
Sending by the homeduino is ok, after I have set the udp to 6
-
Sending by the node is not ok. I become this fault:
19:50:28.466 [pimatic-homeduino] Sending Protocol: switch1 id:1450486 unit:6 all:false state:true Pin:4 Repeats:5
19:50:28.509 [pimatic-homeduino] data: "ACK"
19:50:28.780 [pimatic-homeduino] received: [ 268, 1280, 2616, 10172 ] 020001000100010001000101000001010001000001000100010100000100010001000101000100010001000100000101000100000100010100000101000100000103
19:50:28.803 [pimatic-homeduino] switch1: { id: 1450486, all: false, state: true, unit: 6 }
19:50:28.821 [pimatic-homeduino] pir5: { id: 1450486, all: false, presence: true, unit: 6 }
19:50:28.839 [pimatic-homeduino] contact1: { id: 1450486, all: false, contact: false, unit: 6 }
19:50:28.942 [pimatic-homeduino] data: "57462582{“buckets”:{“0”:“268”,“1”:“1282”,“2”:“2632”,“3”:“10168”,“4”:“0”,“5”:“0”,“6”:“0”,“7”:“0”},“repeats”:“5”,“pulse”:“020001000100010001000101000001010001000001000100010100000100010001000101000100010001000100000101000100000100010100000101000100000103”,“protocol”:“switch1”,“unit”:“6”,“id”:“1450486”}"
unknown message received: 57462582{“buckets”:{“0”:“268”,“1”:“1282”,“2”:“2632”,“3”:“10168”,“4”:“0”,“5”:“0”,“6”:“0”,“7”:“0”},“repeats”:“5”,“pulse”:“020001000100010001000101000001010001000001000100010100000100010001000101000100010001000100000101000100000100010100000101000100000103”,“protocol”:“switch1”,“unit”:“6”,“id”:“1450486”}
19:50:28.962 [pimatic-homeduino] data: "UDP Packet 0 done"
unknown message received: UDP Packet 0 done
19:50:28.985 [pimatic-homeduino] data: "UDP Packet 1 done"
unknown message received: UDP Packet 1 done
19:50:29.035 [pimatic-homeduino] data: "UDP Packet 2 done"
unknown message received: UDP Packet 2 done
19:50:29.086 [pimatic-homeduino] data: "UDP Packet 3 done"
unknown message received: UDP Packet 3 done
19:50:29.136 [pimatic-homeduino] data: "UDP Packet 4 done"
unknown message received: UDP Packet 4 done
19:50:29.187 [pimatic-homeduino] data: "UDP Packet 5 done"
unknown message received: UDP Packet 5 done- If two or more signals overlap (for example: a rule put 3 lamps on), something crashes, and then I become by sending a signal the “OPS Timeout” Error…
19:57:24.256 [pimatic] rule buero-komplett-an-regeln: set $alles-an to 9
19:57:24.408 [pimatic-homeduino] Sending Protocol: switch1 id:9450486 unit:1 all:false state:true Pin:4 Repeats:3
19:57:24.424 [pimatic-homeduino] Sending Protocol: switch1 id:9450486 unit:2 all:false state:true Pin:4 Repeats:5
19:57:25.307 [pimatic-homeduino] data: "ACK"
19:57:25.396 [pimatic] rule buero-komplett-an: turned Salzkristalllampe on
19:57:25.584 [pimatic-homeduino] data: "44031755{“buckets”:{“0”:“268”,“1”:“1282”,“2”:“2632”,“3”:“10168”,“4”:“0”,“5”:“0”,“6”:“0”,“7”:“0”},“repeats”:“3”,“pulse”:“020001000101000001000101000001000100010001000100010100010000010001010001000100010001000100000101000100000100010100000100010001010003”,“protocol”:“switch1”,“unit”:“1”,“id”:“9450486”}"
unknown message received: 44031755{“buckets”:{“0”:“268”,“1”:“1282”,“2”:“2632”,“3”:“10168”,“4”:“0”,“5”:“0”,“6”:“0”,“7”:“0”},“repeats”:“3”,“pulse”:“020001000101000001000101000001000100010001000100010100010000010001010001000100010001000100000101000100000100010100000100010001010003”,“protocol”:“switch1”,“unit”:“1”,“id”:“9450486”}
19:57:25.602 [pimatic-homeduino] data: "UDP Packet 0 done"
unknown message received: UDP Packet 0 done
19:57:25.622 [pimatic-homeduino] data: "UDP Packet 1 done"
unknown message received: UDP Packet 1 done
19:57:25.657 [pimatic-homeduino] data: "UDP Packet 2 done"
unknown message received: UDP Packet 2 done
19:57:25.749 [pimatic-homeduino] data: "UDP Packet 3 done"
unknown message received: UDP Packet 3 done
19:57:25.768 [pimatic-homeduino] data: "UDP Packet 4 done"
unknown message received: UDP Packet 4 done
19:57:25.808 [pimatic-homeduino] data: "UDP Packet 5 done"
unknown message received: UDP Packet 5 done
19:57:25.930 [pimatic] rule buero-komplett-an: pushover message sent successfully
19:57:27.741 [pimatic] rule alles-an-zu-0: set $alles-an to 0
19:57:31.161 [pimatic] rule alles-an-zu-0: set $alles-an to 0MFG
Skarhand -
-
@skarhand said in Announcement: ESPimaticRF coming soon:
- Sending by the node is not ok. I become this fault:
19:50:28.466 [pimatic-homeduino] Sending Protocol: switch1 id:1450486 unit:6 all:false state:true Pin:4 Repeats:5
19:50:28.509 [pimatic-homeduino] data: "ACK"
19:50:28.780 [pimatic-homeduino] received: [ 268, 1280, 2616, 10172 ] 020001000100010001000101000001010001000001000100010100000100010001000101000100010001000100000101000100000100010100000101000100000103
19:50:28.803 [pimatic-homeduino] switch1: { id: 1450486, all: false, state: true, unit: 6 }
19:50:28.821 [pimatic-homeduino] pir5: { id: 1450486, all: false, presence: true, unit: 6 }
19:50:28.839 [pimatic-homeduino] contact1: { id: 1450486, all: false, contact: false, unit: 6 }
19:50:28.942 [pimatic-homeduino] data: "57462582{“buckets”:{“0”:“268”,“1”:“1282”,“2”:“2632”,“3”:“10168”,“4”:“0”,“5”:“0”,“6”:“0”,“7”:“0”},“repeats”:“5”,“pulse”:“020001000100010001000101000001010001000001000100010100000100010001000101000100010001000100000101000100000100010100000101000100000103”,“protocol”:“switch1”,“unit”:“6”,“id”:“1450486”}"
unknown message received: 57462582{“buckets”:{“0”:“268”,“1”:“1282”,“2”:“2632”,“3”:“10168”,“4”:“0”,“5”:“0”,“6”:“0”,“7”:“0”},“repeats”:“5”,“pulse”:“020001000100010001000101000001010001000001000100010100000100010001000101000100010001000100000101000100000100010100000101000100000103”,“protocol”:“switch1”,“unit”:“6”,“id”:“1450486”}
19:50:28.962 [pimatic-homeduino] data: "UDP Packet 0 done"
unknown message received: UDP Packet 0 done
19:50:28.985 [pimatic-homeduino] data: "UDP Packet 1 done"
unknown message received: UDP Packet 1 done
19:50:29.035 [pimatic-homeduino] data: "UDP Packet 2 done"
unknown message received: UDP Packet 2 done
19:50:29.086 [pimatic-homeduino] data: "UDP Packet 3 done"
unknown message received: UDP Packet 3 done
19:50:29.136 [pimatic-homeduino] data: "UDP Packet 4 done"
unknown message received: UDP Packet 4 done
19:50:29.187 [pimatic-homeduino] data: "UDP Packet 5 done"
unknown message received: UDP Packet 5 doneIt’s nog clear what your problem is? The
unknown message received
‘errors’ are normall, it’s a debug reply from ESPimaticRF to the serial, but Pimatic doesn’t know how to respond. You can ignore these messages.
I assume the UDP packets are received by the node and relayed through the RF?- If two or more signals overlap (for example: a rule put 3 lamps on), something crashes, and then I become by sending a signal the “OPS Timeout” Error…
19:57:24.256 [pimatic] rule buero-komplett-an-regeln: set $alles-an to 9
19:57:24.408 [pimatic-homeduino] Sending Protocol: switch1 id:9450486 unit:1 all:false state:true Pin:4 Repeats:3
19:57:24.424 [pimatic-homeduino] Sending Protocol: switch1 id:9450486 unit:2 all:false state:true Pin:4 Repeats:5
19:57:25.307 [pimatic-homeduino] data: "ACK"
19:57:25.396 [pimatic] rule buero-komplett-an: turned Salzkristalllampe on
19:57:25.584 [pimatic-homeduino] data: "44031755{“buckets”:{“0”:“268”,“1”:“1282”,“2”:“2632”,“3”:“10168”,“4”:“0”,“5”:“0”,“6”:“0”,“7”:“0”},“repeats”:“3”,“pulse”:“020001000101000001000101000001000100010001000100010100010000010001010001000100010001000100000101000100000100010100000100010001010003”,“protocol”:“switch1”,“unit”:“1”,“id”:“9450486”}"
unknown message received: 44031755{“buckets”:{“0”:“268”,“1”:“1282”,“2”:“2632”,“3”:“10168”,“4”:“0”,“5”:“0”,“6”:“0”,“7”:“0”},“repeats”:“3”,“pulse”:“020001000101000001000101000001000100010001000100010100010000010001010001000100010001000100000101000100000100010100000100010001010003”,“protocol”:“switch1”,“unit”:“1”,“id”:“9450486”}
19:57:25.602 [pimatic-homeduino] data: "UDP Packet 0 done"
unknown message received: UDP Packet 0 done
19:57:25.622 [pimatic-homeduino] data: "UDP Packet 1 done"
unknown message received: UDP Packet 1 done
19:57:25.657 [pimatic-homeduino] data: "UDP Packet 2 done"
unknown message received: UDP Packet 2 done
19:57:25.749 [pimatic-homeduino] data: "UDP Packet 3 done"
unknown message received: UDP Packet 3 done
19:57:25.768 [pimatic-homeduino] data: "UDP Packet 4 done"
unknown message received: UDP Packet 4 done
19:57:25.808 [pimatic-homeduino] data: "UDP Packet 5 done"
unknown message received: UDP Packet 5 done
19:57:25.930 [pimatic] rule buero-komplett-an: pushover message sent successfully
19:57:27.741 [pimatic] rule alles-an-zu-0: set $alles-an to 0
19:57:31.161 [pimatic] rule alles-an-zu-0: set $alles-an to 0MFG
SkarhandCan you put a delay between sending the 2 RF commands? Can you show the rule you used to get the crash?
Like my projects and help? Consider donating electroneum etnjwAKGPqF6omQWRmpp9u2BPyVDG9VuyRQjNJ1S8yfBdfR9qeUQ46kRy8KS2CNqbpNLRrsgmNW6F2TMzxmZgPrh6KctrkrYbm
-
Ok, when i put a delay from 2 seconds between two RF signals, is the Transmission good.
I will buy two new receiver ans transmitter and then I make new tests.So Long
MFG
Skarhand