Search found 56 matches

by FanOfHue
14 Oct 2019, 20:27
Forum: ESP Easy: Hardware
Topic: New hackable ESP gadgets in local budget store "action" !!!
Replies: 47
Views: 9441

Re: New hackable ESP gadgets in local budget store "action" !!!

I want to connect it to another ESP that runs ESP Easy. Using smartnoderules on the sensor and gateway should also work for ESP Easy, although i did not test it because i have no ESP Easy devices running anymore. You can give it a try, just connect the 'gateway' to an ESP Easy device (link both ser...
by FanOfHue
12 Oct 2019, 12:24
Forum: ESP Easy: Software
Topic: ESP-NOW
Replies: 6
Views: 361

Re: ESP-NOW

Have to do some cleanup, but code is nearing completion for production use. Some minor changes reduced the send-delay from 300 -> 240 mSeconds SmartNodeRules Tuya plugin now properly checks the MCU responses and creates events for the rule engine and it also creates a debug event to send internal re...
by FanOfHue
12 Oct 2019, 10:05
Forum: ESP Easy: Software
Topic: ESP-NOW
Replies: 6
Views: 361

Re: ESP-NOW

Please keep us informed about time it consume to send data over ESPNow protocol. Thanks. Using millis() as counter, current dev version takes 300 mSec to get the message out. I estimate that approx. 100 mSec is spend on communication to the MCU on 9600 baud. I tried to skip some parts like getting ...
by FanOfHue
11 Oct 2019, 14:41
Forum: ESP Easy: Software
Topic: ESP-NOW
Replies: 6
Views: 361

Re: ESP-NOW

I decided to dive in deep myself, but it took a while to find a good sample on how to setup ESP-NOW with two STATION mode units and make use of encryption and peering. This supprised me a bit, but majority of samples skip encryption options and sometimes also use mac broadcast messages. That looks l...
by FanOfHue
09 Oct 2019, 13:20
Forum: ESP Easy: Software
Topic: ESP-NOW
Replies: 6
Views: 361

ESP-NOW

Who has experience with ESP-NOW, combined with ESPEasy at the same time? I've read that it cannot be combined with normal Wifi operation so that could complicate things a bit. How to do OTA upgrade when the device can't use normal Wifi/Webserver and at the same time being a ESP-NOW sensor? I guess w...
by FanOfHue
09 Oct 2019, 12:01
Forum: ESP Easy: Projects / Applications
Topic: TinyExtender project
Replies: 2
Views: 264

Re: TinyExtender project

I'm not afraid of that part, as the entire step-up converter is "power-controlled" by the MCU. The MCU and ATTiny85 are running on direct battery voltage. The ESP runs on the step-up converter and it's powered down when not in use. I'm more worried about the high current consumption of the ESP and t...
by FanOfHue
08 Oct 2019, 16:28
Forum: ESP Easy: Projects / Applications
Topic: TinyExtender project
Replies: 2
Views: 264

TinyExtender project

Don't know if anyone still working on the letscontrolit NodoTiny repository, last commit 3 years ago :shock: But found some nice code stuff that helped me create a TinyExtender project, similar to the Pro Mini Extender and using a similar plugin and protocol. Currently using it as a test device that...
by FanOfHue
27 Sep 2019, 14:38
Forum: ESP Easy: Projects / Applications
Topic: "SmartNodeRules" concept idea
Replies: 37
Views: 2348

Re: "SmartNodeRules" concept idea

As you may have seen on GitHub, I've been very busy trying to free up space and thinking of other sets of plugins to combine, so we have free space for other additions. Can you add this suggestion here: https://github.com/letscontrolit/ESPEasy/issues/2590 Would be great if letscontrolit could provi...
by FanOfHue
26 Sep 2019, 17:45
Forum: ESP Easy: Projects / Applications
Topic: "SmartNodeRules" concept idea
Replies: 37
Views: 2348

Re: "SmartNodeRules" concept idea

[...] When will it be part of official build? That's hard to say right now. At the moment we're running into all kinds of build issues regarding build size, so adding more plugins is not going to help much then. What if you only add the one plugin so you can link SmartNodeRules network to ESPEasy n...
by FanOfHue
26 Sep 2019, 17:33
Forum: ESP Easy: Hardware
Topic: New hackable ESP gadgets in local budget store "action" !!!
Replies: 47
Views: 9441

Re: New hackable ESP gadgets in local budget store "action" !!!

Hi, I just bought a door sensor and a pir sensor. Could you give us some more detailled info how do you flash it, with wich firmware ? Can we integrate it with Domoticz ? Thx I used the hardware way, using a header (see picture in earlier post). Boot with GPIO0 low to get it into flash mode. This i...
by FanOfHue
25 Sep 2019, 15:35
Forum: ESP Easy: Hardware
Topic: New hackable ESP gadgets in local budget store "action" !!!
Replies: 47
Views: 9441

Re: New hackable ESP gadgets in local budget store "action" !!!

How does SmartNodeRules know when the door is open or closed? My SmartNodeRules plugin communicates with the onboard MCU to get the status. No variable needed at all. Current rules: On System#Boot do tuyasend 1,0,0 tuyasend 2,1,2 tuyasend 2,1,3 endon On Wifi#Connected do sendtoudp 255.255.255.255,6...
by FanOfHue
24 Sep 2019, 12:51
Forum: ESP Easy: Hardware
Topic: New hackable ESP gadgets in local budget store "action" !!!
Replies: 47
Views: 9441

Re: New hackable ESP gadgets in local budget store "action" !!!

How long does the uC keeps the tywe3s (esp) on when the firmware don't actively sends the rights messages over uart to the uC? It's about 13 seconds in total in my case. Takes 3 seconds to get connected. I can ping it for about 10 seconds. With serial comms, it's only powered for 5 seconds, so it w...
by FanOfHue
21 Sep 2019, 10:18
Forum: ESP Easy: Hardware
Topic: New hackable ESP gadgets in local budget store "action" !!!
Replies: 47
Views: 9441

Re: New hackable ESP gadgets in local budget store "action" !!!

Has anyone got the door sensor running on custom firmware? I have one running with SmartNodeRules. Just updated the plugin so it creates a rule event "TUYA#Event=<state>" when the sensor detects a change. Sample rule: On TUYA#Event do msgbus %sysname%/DoorSwitch=%eventvalue% endon Any of the other ...
by FanOfHue
07 Sep 2019, 18:37
Forum: ESP Easy: Hardware
Topic: New hackable ESP gadgets in local budget store "action" !!!
Replies: 47
Views: 9441

Re: New hackable ESP gadgets in local budget store "action" !!!

I also reverse engineered the serial protocol to find out that it's not really following protocol as documented. Taken from my plugin comments: * tuyaSend <cmd>,<len>,<value> Send a serial message to the 'tuya' MCU as used on LSC Smart Connect PIR and Doorsensors * * Still debugging. Official docume...
by FanOfHue
07 Sep 2019, 16:21
Forum: ESP Easy: Hardware
Topic: New hackable ESP gadgets in local budget store "action" !!!
Replies: 47
Views: 9441

Re: New hackable ESP gadgets in local budget store "action" !!!

Latest commit of ESPCoreRules has a work-in-progress quick and dirty plugin for the doorsensor: ESPCoreRules/_P201_TUYA.ino You might be able to see how it works from this plugin: https://github.com/SmartNodeRules/ESPCoreRules/blob/master/_P201_TUYA.ino The plugin currently sends messages received f...
by FanOfHue
07 Sep 2019, 16:12
Forum: ESP Easy: Projects / Applications
Topic: "SmartNodeRules" concept idea
Replies: 37
Views: 2348

Re: "SmartNodeRules" concept idea

I had the latest dev ESPCoreRules code on my laptop. I added a "reset" command that should format and create the files. Commit to github just now. This version also has serial debug enabled so you could see a bit more on serial. You could try this: Upload the latest code Boot the ESP, wait until it'...
by FanOfHue
07 Sep 2019, 13:45
Forum: ESP Easy: Hardware
Topic: New hackable ESP gadgets in local budget store "action" !!!
Replies: 47
Views: 9441

Re: New hackable ESP gadgets in local budget store "action" !!!

AFAIK, the door sensor has no GPIO attached to any hardware. Only RX/TX is connected to the other MCU. I'm working on a serial plugin for ESPCoreRules to read the status from the other MCU and instruct it to power off again. I have seen an existing plugin for ESP Easy to controll Tuya MCU that might...
by FanOfHue
07 Sep 2019, 13:36
Forum: ESP Easy: Projects / Applications
Topic: "SmartNodeRules" concept idea
Replies: 37
Views: 2348

Re: "SmartNodeRules" concept idea

If you hardcoded the Wifi SSID it does not depend on SPIFFS. As long as it prints "SPIFFS?" on serial, the system is unable to mount SPIFFS. From my experience it means that there is no formatted SPIFFS partition or it is in the wrong area. For Wemos D1 mini, i use 4M (1M SPIFFS) setting on both ESP...
by FanOfHue
07 Sep 2019, 09:03
Forum: ESP Easy: Projects / Applications
Topic: "SmartNodeRules" concept idea
Replies: 37
Views: 2348

Re: "SmartNodeRules" concept idea

It looks like the SPIFFS partition does not mount for some reason. That's a major requirement to continue. Did you use exactly the same compiler settings for ESP Easy and ESPCoreRules?
by FanOfHue
05 Sep 2019, 17:13
Forum: ESP Easy: Projects / Applications
Topic: "SmartNodeRules" concept idea
Replies: 37
Views: 2348

Re: "SmartNodeRules" concept idea

Can you please give little how to guide so I can setup my esp8266 device using your firmware. I looked at wiki pages but it does not have information on how to get started.I was able to compile & upload for esp8266 but in serial console I get this: ⸮ogl`orǛ⸮g#⸮ls⸮⸮gb⸮d⸮⸮dd⸮⸮$`⸮⸮n⸮h SPIFFS? sd I was...
by FanOfHue
03 Sep 2019, 08:27
Forum: ESP Easy: Hardware
Topic: New hackable ESP gadgets in local budget store "action" !!!
Replies: 47
Views: 9441

Re: New hackable ESP gadgets in local budget store "action" !!!

I found some more info and a tear-down of these devices on a the German forum mikrocontroller.net . It seams that the OTA update with Tuya-convert has been disabled by Tuya with a new firmware and these devices would have the new update. Also some of these devices don't have the esp8266 or esp8285 ...
by FanOfHue
03 Sep 2019, 08:23
Forum: ESP Easy: Hardware
Topic: New hackable ESP gadgets in local budget store "action" !!!
Replies: 47
Views: 9441

Re: New hackable ESP gadgets in local budget store "action" !!!

Chip/Module used: Switch Plug ESP8285-TYWE2S Door Sensor ESP8266-TYWE3S PIR Sensor ESP8266-TYWE3S Hand Remote RTL8710BN-WR3 Sirene RTL8710BN-WR3 Led Strip ESP8266-TYWE3L At least the ESP editions can be flashed with ESP Easy or similar stuff. I'm not aware of any custom firmware for the RTL modules.
by FanOfHue
20 Aug 2019, 20:18
Forum: ESP Easy: Hardware
Topic: New hackable ESP gadgets in local budget store "action" !!!
Replies: 47
Views: 9441

Re: New hackable ESP gadgets in local budget store "action" !!!

I seems that you can use a project named Tuya-Convert to replace the firmware OTA way, but then you would need an RPI-3. I don't have one, so i took the hardware hack road: Doorsensor.png Not really difficult to do. A siimple header gives access to RX/TX and GPIO-0 and that's all you need. I used Ar...
by FanOfHue
20 Aug 2019, 15:02
Forum: ESP Easy: Hardware
Topic: New hackable ESP gadgets in local budget store "action" !!!
Replies: 47
Views: 9441

Re: New hackable ESP gadgets in local budget store "action" !!!

The doorsensor has also been migrated to a SmartNode with custom firmware.
by FanOfHue
17 Aug 2019, 12:25
Forum: ESP Easy: Hardware
Topic: New hackable ESP gadgets in local budget store "action" !!!
Replies: 47
Views: 9441

New hackable ESP gadgets in local budget store "action" !!!

Yesterday i found some nice new products available in the Dutch Action store. A full range of Wifi sensors and lights most of them under 9.95 euro each. I bought some sensors to see what's inside and some of them have the Tuya ESP8266 module. So hack friendly i guessed So my first "SmartNodeRules" P...
by FanOfHue
02 Aug 2019, 21:37
Forum: Experimental
Topic: Pro Mini Extender "Advanced" concept
Replies: 8
Views: 2863

Re: Pro Mini Extender "Advanced" concept

I've pushed an update to GitHub: https://github.com/SmartNodeRules/NanoCore The core loop is a lot faster now as i've changed the "scheduler' using interrupt driven timers that will also be more accurate. Also changed the unconditional call to a 100_per_second call which should be more than enough. ...
by FanOfHue
27 Jul 2019, 16:29
Forum: ESP Easy: Projects / Applications
Topic: "SmartNodeRules" concept idea
Replies: 37
Views: 2348

Re: "SmartNodeRules" concept idea

I've just updates several repositories on github. Main update is the addition of the group feature on the Node List. Because the list of nodes has grown rapidly in my home, i can now group devices and the main landing web page first shows the discovered groups. Selecting a group will list all nodes ...
by FanOfHue
27 Jul 2019, 16:21
Forum: ESP Easy: Software
Topic: What happened with PLUGIN_UNCONDITIONAL_POLL?
Replies: 1
Views: 2306

What happened with PLUGIN_UNCONDITIONAL_POLL?

Just upgraded my dev node from ESPEasy, dated 2018-11-22 to the latest stable release dated 2019-06-30 (last release seems to crash) But now, the smartnoderules plugin no longer works. After some debugging, i found this line commented out in the ESPEasy.ino file: //PluginCall(PLUGIN_UNCONDITIONAL_PO...
by FanOfHue
27 Jul 2019, 11:18
Forum: Experimental
Topic: Pro Mini Extender "Advanced" concept
Replies: 8
Views: 2863

Re: Pro Mini Extender "Advanced" concept

This sounds really great. I was also thinking about something similar, to use a small 'co processor' board to either handle time critical stuff (ESP8266 is not good at real time stuff) or help to extend some GPIO pins like serial to I2C or something like that. Can you show more? (and Jimmy will upd...
by FanOfHue
27 Jul 2019, 11:15
Forum: ESP Easy: Projects / Applications
Topic: "SmartNodeRules" concept idea
Replies: 37
Views: 2348

Re: "SmartNodeRules" concept idea

Would be great if the plugin is added and maybe other people could have use cases for it. I currently use the messagebus for sensor data that is repeated every minute so i guess that some missed messages get unnoticed. Looking at the sensor graphs, i don't see any gaps. I've defined a confirmation f...
by FanOfHue
16 Jul 2019, 17:40
Forum: ESP Easy: Projects / Applications
Topic: "SmartNodeRules" concept idea
Replies: 37
Views: 2348

Re: "SmartNodeRules" concept idea

I really like the idea. The ESPeasy p2p protocol is getting some rewrite to share plugin data among nodes. If you need any changes/additions or have some good ideas, please let me know. This is just something I was thinking about also, but was not yet able to make it due to time and time lost in th...
by FanOfHue
16 Jul 2019, 17:32
Forum: Experimental
Topic: Pro Mini Extender "Advanced" concept
Replies: 8
Views: 2863

Re: Pro Mini Extender "Advanced" concept

This sounds really great. I was also thinking about something similar, to use a small 'co processor' board to either handle time critical stuff (ESP8266 is not good at real time stuff) or help to extend some GPIO pins like serial to I2C or something like that. Can you show more? (and Jimmy will upd...
by FanOfHue
15 Jul 2019, 19:11
Forum: Experimental
Topic: Pro Mini Extender "Advanced" concept
Replies: 8
Views: 2863

Pro Mini Extender "Advanced" concept

Just finished some final bits of work on the Atmega-328 platform (Arduino Uno, Nano, Pro mini) * Arduino Pro Mini that runs a small rule engine using boot.txt and rules.txt "files" stored in EEPROM * Controlling GPIO ports (or plugins) using internal rule commands or serial commands send from an ESP...
by FanOfHue
15 Jul 2019, 17:00
Forum: ESP Easy: Projects / Applications
Topic: "SmartNodeRules" concept idea
Replies: 37
Views: 2348

Re: "SmartNodeRules" concept idea

I looked at you wiki page and it is interesting concept. I sometimes need minimum setup for small project.we have ongoing discussion at https://github.com/enesbcs/rpieasy/issues/73 regarding ESP-Now protocol.Please share your thoughts there.I am trying to understand few things from your wiki. - Doe...
by FanOfHue
14 Jan 2019, 15:18
Forum: ESP Easy: Projects / Applications
Topic: "SmartNodeRules" concept idea
Replies: 37
Views: 2348

Re: "SmartNodeRules" concept idea

On Arduino Mega: Sending this http://<ip>/control?cmd=gpio,12,1 I get this error: Unknown or restricted command! Could you have a look at it? That should be solved on github now. In the mean time, a new feature has been added to show nodes in groups. A new command: Config,Group,<group name> has bee...
by FanOfHue
08 Jan 2019, 15:52
Forum: ESP Easy: Projects / Applications
Topic: USB charger, & nightlight fitted with Wemos D1 Mini project
Replies: 7
Views: 1240

Re: USB charger, & nightlight fitted with Wemos D1 Mini project

Tecumseh wrote:
07 Jan 2019, 09:53
What's the store you found these in?
The store name is "Action", located in the Netherlands. They have stores across Europe but i don't know if the product range is equal in all countries.
by FanOfHue
06 Jan 2019, 17:16
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 154
Views: 15301

Re: RPIEasy

Nice development! I've noticed you mentioning Python in your first post. Is this a pure Python based project? Meaning that it could run on other platforms that support Python. Like the ESP32? And did you know that another Python project (uPyEasy) already exist? Maybe you could team up with the other...
by FanOfHue
06 Jan 2019, 17:05
Forum: ESP Easy: Projects / Applications
Topic: "SmartNodeRules" concept idea
Replies: 37
Views: 2348

Re: "SmartNodeRules" concept idea

Hi, That sounds like a brillant idea - how much of it is workable at the moment??? I have a home automation system running on a couple of RPi-3s using Node-RED and MQTT. Around the house I have a number of WeMos D1 Minis (re-flashed with ESP Easy) that send various readings (temp, humdiity, pressur...
by FanOfHue
06 Jan 2019, 17:03
Forum: ESP Easy: Projects / Applications
Topic: "SmartNodeRules" concept idea
Replies: 37
Views: 2348

Re: "SmartNodeRules" concept idea

I use OpenHab for home control, so I don't require a standalone solution. But there are ESP Easy that would benefit from your concept. So I just stopped by to show my support. - Thomas Thanks for taking the time to respond. I presume that you're using MQTT with OpenHAB? I have a testversion ready t...
by FanOfHue
06 Jan 2019, 16:58
Forum: ESP Easy: Projects / Applications
Topic: "SmartNodeRules" concept idea
Replies: 37
Views: 2348

Re: "SmartNodeRules" concept idea

I'm using ArduinoEasy for a while with Domoticz. Could be nice to have a small webgui with power control buttons to control this unit directly. Maybe in case Domoticz has crashed like it did a while ago when the SD card in the RPI suddenly died. ArduinoEasy does not have such an option and it seems...
by FanOfHue
06 Jan 2019, 16:53
Forum: ESP Easy: Projects / Applications
Topic: USB charger, & nightlight fitted with Wemos D1 Mini project
Replies: 7
Views: 1240

USB charger, & nightlight fitted with Wemos D1 Mini project

Have been looking for a nice small case for some customized IoT stuff (mains powered) and just today, I found some funny gadget at a local budget store. It's an automatic nightlight with two USB charging ports. Gadget.png I just guessed that there might be some empty space left and took the risk (5 ...
by FanOfHue
24 Dec 2018, 15:26
Forum: ESP Easy: Projects / Applications
Topic: "SmartNodeRules" concept idea
Replies: 37
Views: 2348

"SmartNodeRules" concept idea

I have started to work on a "SmartNodeRules" idea, further explained here: https://github.com/SmartNodeRules/Documentation/wiki I just finished creating some prototypes to demonstrate how this could work in my own home and so far it seems to work as planned. A plugin for ESPEasy is also available to...
by FanOfHue
21 Dec 2018, 12:31
Forum: ESP Easy: Software
Topic: ESP Easy local control buttons missing?
Replies: 4
Views: 626

ESP Easy local control buttons missing?

Just want to turn on a local gpio pin using the webgui, but don't know how to do so. Is this option missing be design or did i miss something? I've updated the MessageBus plugin to take over root page control by adding a rule to redirect the main page. Also added options to add buttons to the main p...
by FanOfHue
20 Dec 2018, 11:38
Forum: ESP Easy: General Discussion
Topic: send command via UDP message
Replies: 20
Views: 2258

Re: send command via UDP message

I see, then we are on the same track. I've been working with Arduino microcontrollers for quite some time and build up a nice collection of hardware that is still in use around the house. I could start to replace them all with ESP32 but that would be the easy way out. These Arduino boards have serve...
by FanOfHue
20 Dec 2018, 11:00
Forum: ESP Easy: General Discussion
Topic: send command via UDP message
Replies: 20
Views: 2258

Re: send command via UDP message

grovkillen wrote:
20 Dec 2018, 08:14
The concept of a headless system is 100% within our projection of the project. So these inputs are really nice to see. Thanks!
Doesn't "headless" mainly refer to systems without monitor/keyb/mouse?
by FanOfHue
20 Dec 2018, 10:57
Forum: ESP Easy: General Discussion
Topic: send command via UDP message
Replies: 20
Views: 2258

Re: send command via UDP message

Hi guys, I’m new to ESP Easy and have succesfully flashed my first Sonoff S20 a couple of days ago. Things went pretty good and I can send commands via http get. However I would rather use UDP to send commands. I activated and configured “UDP Generic”. I tried to send lots of different UDP messages...
by FanOfHue
20 Dec 2018, 08:11
Forum: ESP Easy: General Discussion
Topic: send command via UDP message
Replies: 20
Views: 2258

Re: send command via UDP message

The current implementation of the P2P protocol is documented: https://espeasy.readthedocs.io/en/latest/Controller/C013.html Yes it will change, but the change will be an addition. It will still be backwards compatible with existing protocol. Later I will add an option to disable the "old" (current)...
by FanOfHue
19 Dec 2018, 15:21
Forum: ESP Easy: Projects / Applications
Topic: ESP Easy Rule Engine on Windows
Replies: 0
Views: 480

ESP Easy Rule Engine on Windows

Currently working on a Windows version of the ESP Easy Rule engine that will also use the UDP Message Bus and provide the same Webgui on a dedicated build-in tiny webserver. I have a low power Windows 10 tablet running 24/7 for my powershell stuff so i want to include it into the Message Bus Node li...
by FanOfHue
19 Dec 2018, 15:13
Forum: ESP Easy: Software
Topic: "UDP Message Bus" plugin
Replies: 4
Views: 603

Re: "UDP Message Bus" plugin

Nice, when you guys have finished that, i will have a look at the code. In the mean time, i implemented just two small Rule commands to add text and buttons to the tiny web gui that i want: webPrint <text> webButton <classname>;<linkref>;<button caption> This is sufficient for my personal need. I do...
by FanOfHue
19 Dec 2018, 15:08
Forum: ESP Easy: Projects / Applications
Topic: ESP Easy Core - Rules and MessageBus
Replies: 2
Views: 507

Re: ESP Easy Core - Rules and MessageBus

Thanks for the comments, but my idea is not really about rule performance. The main reason for me to build a custom version was to get EVERYTHING rule based. Latest version of my 'core' edition only has a web based textfile editor to edit boot.txt and rules.txt. This can also be called from the file...