@user2684 You mean, why use SonOff?!?!
In my case I want to have sensors I can control over the Internet i.e. SonOff for the garage door opener(RELAY), with a PIR and HC_SR04.
I also prefer the SonOff/ESP8266 as it has more memory than the Arduino.
Posts made by Straydog
-
RE: 💬 NodeManager
-
RE: 💬 NodeManager
@user2684 It's the regular HC-SR04, with ECHO & TRIGGER soldered together. I believe you can get them in either 5 or 3.3V
There are only 3 exposed pins on the SonOff SV, I need the other pins for other sensors.
Would like to help you test this project, tried to sign up to GIT yesterday but all Usernames came back as in use, will try again.
Two issues 1) AVR/EEPROM is not found, with PERSIST 0 & board ESP8266. 2) Don't know how to define HC-SR04 as a custom sensor, or can disguise it as another sensor type, with a PulseWidth.Great job
-
RE: 💬 NodeManager
@openhardware.io Great idea. Can we expect to see support for Sonoff/ESP8266(without SLEEP) in a near future?
Also, would love to see an example of a custom sensor/HC-SR04 distance sensor, 3-pin implementation.
Keep up the great work. -
RE: Arduino UNO + ESP8266
Understand what you're saying, so:
- It doesn't work like having a Arduino/Mega + W5100, with MY_GATEWAY_W5100.
- Is there NO option to run with a WiFi Shield???
-
RE: Arduino UNO + ESP8266
I think we have a misunderstanding here.
Looks like a compiler problem.
The GateWay sketch works fine on Mega2560, with The ENC28J60, in other words, it works with Ethernet.
It also works on a standalone ESP8266, specifying "MY_GATEWAY_ESP8266", which finds the ESP8266WiFi.h.
However but it doesn't work with the Mega2560, or Arduino R3 for that matter, with ESP8266, specifying "MY_GATEWAY_ESP8266", ESP8266WiFi.h not found.
Not sure the Arduino would be suitable, due to limited memory, but since it won't compile, I'll never know.
Has anybody got this combination working? -
RE: Arduino UNO + ESP8266
Same problem with Mega2560 + ESP8266 DoIT WiFi Shield.
It does not compile the MySensors provided example : GateWAYESP8266, modifications, added userid/password ONLY
Error:
C:\Users\pwall\AppData\Local\Temp\arduino_modified_sketch_903580\GatewayESP8266.ino:132:25: fatal error: ESP8266WiFi.h: No such file or directory#include <ESP8266WiFi.h>
^
compilation terminated.
open preproc\ctags_target_for_gcc_minus_e.cpp: The system cannot find the file specified.
Error compiling for board Arduino/Genuino Mega or Mega 2560.Yes I understand that the ESP8266 is powerful enough to work without an Arduino but it so happens that I have one MEGA2560 and one WiFi shield, with spidery legs, that mates with the MEGA, and would very much like to see it work.
-
RE: ESP8266 Gateway runs DHCP, not static
Problem persists, running version "MySensors Library v2.2.0-beta" downloaded today.
" -
RE: ESP8266 Gateway runs DHCP, not static
You're probable right. Running GatewayEsp8266 example but I seem to recall having had the same problem with the MQTTGateway. Will test and get back with you...Thanks
And thanks for the quick response.
-
ESP8266 Gateway runs DHCP, not static
Running an ESP8266(NodeMCU 1.0) gateway with MY_IP_ADDRESS uncommented and MY_RADIO_NRF24 commented out, without problem. I get the desired I.P. address.
However, when I uncomment MY_RADIO_NRF24 it starts running DHCP.
Any ideas? -
RE: RF 433 MHz sensor to control RF sockets.
@lasso Like to try your RF 433 Mhz Sensor sketch but can't find a working instance od Relay.h.
Can you help?