Search found 96 matches

by FanOfHue
25 Sep 2019, 15:35
Forum: ESP Easy: Hardware
Topic: New hackable ESP gadgets in local budget store "action" !!!
Replies: 112
Views: 252716

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: 112
Views: 252716

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: 112
Views: 252716

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 ...
by FanOfHue
07 Sep 2019, 18:37
Forum: ESP Easy: Hardware
Topic: New hackable ESP gadgets in local budget store "action" !!!
Replies: 112
Views: 252716

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: 112
Views: 252716

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: 24614

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...
by FanOfHue
07 Sep 2019, 13:45
Forum: ESP Easy: Hardware
Topic: New hackable ESP gadgets in local budget store "action" !!!
Replies: 112
Views: 252716

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: 24614

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 o...
by FanOfHue
07 Sep 2019, 09:03
Forum: ESP Easy: Projects / Applications
Topic: "SmartNodeRules" concept idea
Replies: 37
Views: 24614

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: 24614

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...
by FanOfHue
03 Sep 2019, 08:27
Forum: ESP Easy: Hardware
Topic: New hackable ESP gadgets in local budget store "action" !!!
Replies: 112
Views: 252716

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: 112
Views: 252716

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: 112
Views: 252716

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: 112
Views: 252716

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: 112
Views: 252716

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 "SmartNodeRul...
by FanOfHue
02 Aug 2019, 21:37
Forum: Experimental
Topic: Pro Mini Extender "Advanced" concept
Replies: 8
Views: 37240

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 eno...
by FanOfHue
27 Jul 2019, 16:29
Forum: ESP Easy: Projects / Applications
Topic: "SmartNodeRules" concept idea
Replies: 37
Views: 24614

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: 4257

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: 37240

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: 24614

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: 24614

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: 37240

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: 37240

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 f...
by FanOfHue
15 Jul 2019, 17:00
Forum: ESP Easy: Projects / Applications
Topic: "SmartNodeRules" concept idea
Replies: 37
Views: 24614

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: 24614

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: 11
Views: 10213

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: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 486476

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: 24614

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: 24614

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: 24614

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: 11
Views: 10213

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: 24614

"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 av...
by FanOfHue
21 Dec 2018, 12:31
Forum: ESP Easy: Software
Topic: ESP Easy local control buttons missing?
Replies: 4
Views: 2964

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: 14052

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: 14052

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: 14052

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: 14052

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"...
by FanOfHue
19 Dec 2018, 15:21
Forum: ESP Easy: Projects / Applications
Topic: ESP Easy Rule Engine on Windows
Replies: 0
Views: 2363

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: 2795

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: 2539

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...
by FanOfHue
19 Dec 2018, 15:05
Forum: ESP Easy: General Discussion
Topic: send command via UDP message
Replies: 20
Views: 14052

Re: send command via UDP message

Because of my Message Bus project, i happen to know more about the UDP protocol used in ESP Easy. The controller is only used to send data. But ESP Easy listens to UDP if a port is set in advanced settings. Look at this code in networking.ino: if (!PluginCall(PLUGIN_WRITE, &TempEvent, request)) ...
by FanOfHue
10 Dec 2018, 19:54
Forum: ESP Easy: Projects / Applications
Topic: ESP Easy Core - Rules and MessageBus
Replies: 2
Views: 2539

ESP Easy Core - Rules and MessageBus

I really like the ESP Easy rule engine because i'm actually a powershell scripting guy. I thought it would be nice to have a small ESP Easy edition with just the rules engine and then try to enhance some rule options from there. I took the Mega Uploader as base, added some code from the last stable ...
by FanOfHue
22 Nov 2018, 20:29
Forum: ESP Easy: General Discussion
Topic: How to send sensor data from one to another esp?
Replies: 3
Views: 2808

Re: How to send sensor data from one to another esp?

Hello,

I'm working on a Message Bus idea that can do just that. I think it offers more freedom than the build-in P2P controller. You can catch and combine values into a task of choice. I have it working, but the plugin is draft status and not official.
by FanOfHue
22 Nov 2018, 20:19
Forum: ESP Easy: Software
Topic: "UDP Message Bus" plugin
Replies: 4
Views: 2795

Re: "UDP Message Bus" plugin

Thanks for your reaction. Like to see if others are interrested in this Message Bus idea. The web page i've created tries to mimic an app style minimalistic interface, see sample: RootWeb.png Each ESP unit displays it's main sensorvalue to the main screen using a rules command and i can quickly cycl...
by FanOfHue
22 Nov 2018, 18:29
Forum: ESP Easy: Software
Topic: "UDP Message Bus" plugin
Replies: 4
Views: 2795

"UDP Message Bus" plugin

I wanted a really simple way of distributing sensor data across the local network to be consumed by different clients. MQTT could have been an option but i liked a more simple broker-less approach with lower overhead. I ran some tests using the Generic UDP protocol to send data towards the broadcast...
by FanOfHue
08 Oct 2018, 16:03
Forum: ESP Easy: Software
Topic: Connecting ESP Easy to the Philips Hue Bridge
Replies: 1
Views: 2510

Connecting ESP Easy to the Philips Hue Bridge

Hello, Sometime ago I've learned that the Philips Hue motion sensor also provides temperature and ambient light values to the Hue Bridge. So I wanted a small LCD display to display the temperature and Lux values reported. After searching the wiki on Hue Bridge support, I could not find anything exis...