Closed giplgwm closed 2 months ago
You shouldn't need SPIFFS; the html.h
file contains all the html as strings. You should just be able to compile the ino file (which includes html.h
) and so it's all in one blob. No SPIFFS or other filesystem is needed. If you change the html then you'll need to run gen_html
to create a new html.h
(the Makefile
has the necessary rules).
I do not know that model of collar, however it looks like it has "battery level indicators" which is sent from the collar back to the receiver. So it's very very possible these collars use a different protocol to communicate and aren't compatible.
Can you link to a collar thats confirmed to work? Would be extremely helpful, thanks for the quick reply!
There's a link in the README to https://www.amazon.com/gp/product/B00W6ZHZMI which is the one I bought in 2015. Not as fancy as the one you got but it works for me!
I've uploaded the code successfully to my NodeMCU board, I did have to make a minor change to get it to actually load the html, adding and "SPIFFS.begin();" to the .ino. I uploaded the html files using "ESP8266 Sketch Data Upload" plugin on v1.8 of the arduino IDE. If this is incorrect please advise.
Now I have the html page working, but it will not pair with my collar after putting it into pairing mode. The collars I have are here, I'm using the 433mhz transmitter modules linked in your README, and this NodeMCU board
The light on the NodeMCU flashes when i press "beep" to try pairing, but nothing happens on the collar side. I've tried swapping the Transmitter module 3 times, so i doubt they're all defective. The transmitter is wired - GRD - GRD, 3.3v - VCC, D0 - INPUT. Any advice here?
Thanks