Consumed power metering node with optional environment sensors and LCD display. Features network configuration by mobile phone
Designed to work with Fusor Hub: [https://github.com/fusor-io/fusor-hub]
Tested on WeMos D1 Mini
(ESP8266)
See [https://www.wemos.cc/en/latest/d1/d1_mini.html]
- select device in Arduino IDE
LOLIN (WEMOS) D1 R2 & Mini
- install libraries:
ArduinoJson
by Benoit BlanchorTime.h
, see: [https://github.com/PaulStoffregen/Time]. Use Arduino Library Manager, look forTime by Michael Margolis
. It can be found under type:Contributed
, topic:Timing
Fusor State Machine
: [https://github.com/fusor-io/fusor-state-machine]Fusor State Machine Plugins
: [https://github.com/fusor-io/fusor-state-machine-plugins]Fusor WiFi Configurator
: [https://github.com/fusor-io/fusor-wifi-configurator]Fusor Node Connector
: [https://github.com/fusor-io/fusor-node-connector]U8g2
library (for LCD)
To run this node you need:
- Running
Fusor Hub
- Uploaded
State Machine Definition
toFusor Hub
. Use postman_collection.json from this repo (change provided dummy IP address to yours Fusor Hub address)
- Failure to initialize FS (SPIFFS). Solution: change board to some other eg. Wemos D1 mini Pro, compile, change back, compile, upload.