Search found 96 matches

by FanOfHue
30 Mar 2020, 11:53
Forum: ESP Easy: Hardware
Topic: Battery goes down WAY too fast on ESP
Replies: 59
Views: 44685

Re: Battery goes down WAY too fast on ESP

martinus wrote: 24 Mar 2020, 17:18 Any particular reason?
There was no need for my work here and I will start working on other challenges outside ESP world.
So this will be my last post here.
Goodluck to you all!
by FanOfHue
30 Mar 2020, 11:49
Forum: ESP Easy: Hardware
Topic: New hackable ESP gadgets in local budget store "action" !!!
Replies: 112
Views: 241483

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

It was indeed the serial console speed - I don't know why, but I had to set it to 74880 to get it work :o Thanks @rola: I've answered your PM quite late, but better late than never. To others who are looking into building a modded sensor: Repo for ATTiny85 is here: https://github.com/FanOfHue/Other...
by FanOfHue
24 Mar 2020, 15:46
Forum: ESP Easy: Hardware
Topic: Battery goes down WAY too fast on ESP
Replies: 59
Views: 44685

Re: Battery goes down WAY too fast on ESP

5 months, just in case anyone cares :lol: BatterySensor5months.png I got a private request on the ATtiny firmware. I have stopped development on this forum but if anyone would like to continue, latest source is here: https://github.com/FanOfHue/Other/tree/master/TinyExtender It's really not my inven...
by FanOfHue
04 Mar 2020, 08:53
Forum: ESP Easy: Software
Topic: Please help with 1MB module
Replies: 20
Views: 17965

Re: Please help with 1MB module

Of course this is all hobby, so who are we to judge the developers in any way? (it could be different if we'd payed for it ;) ) But just some free advice from me :mrgreen: :mrgreen: :mrgreen: : - Stop working on code cleanup/restrucure for now because it's still a lot of work with risks of new insta...
by FanOfHue
19 Feb 2020, 21:48
Forum: ESP Easy: Software
Topic: Please help with 1MB module
Replies: 20
Views: 17965

Re: Please help with 1MB module

I used an old Core-2.0.0. compiled BasicOTA sketch Thanks for this simple solution :) Still a workaround but not as worse as mine :oops: Now i don't have to tweak the TASK settings for my LSC smart plug anymore @moderator: May i suggest to close this topic because: 1) I think no one else has the is...
by FanOfHue
12 Feb 2020, 17:08
Forum: ESP Easy: Software
Topic: ESPCoreRules build 7 on github
Replies: 3
Views: 7634

Re: ESPCoreRules build 7 on github

I decide to move over to Tasmota with better support for tuya devices like sold on Action and eBay Well there goes my one and only other ESPCoreRules user :lol: :lol: ... but i really like software that many people use so more proven To be fair, i can only agree. Lack of adoption after a year since...
by FanOfHue
09 Feb 2020, 21:42
Forum: ESP Easy: Software
Topic: Please help with 1MB module
Replies: 20
Views: 17965

Re: Please help with 1MB module

So we're living on the edge here :mrgreen: Some changes to save another 10kB: #define TASKS_MAX 4 #define CONTROLLER_MAX 3 #define DAT_OFFSET_TASKS 4096 #define DAT_TASKS_DISTANCE 2048 #define DAT_CONTROLLER_SIZE 1024 #define DAT_OFFSET_CONTROLLER (DAT_OFFSET_TASKS + (DAT_TASKS_DISTANCE * TASKS_MAX)...
by FanOfHue
09 Feb 2020, 18:29
Forum: ESP Easy: Software
Topic: Please help with 1MB module
Replies: 20
Views: 17965

Re: Please help with 1MB module

I tried the same once, with 64k SPIFFS, but that was causing lots of issues. I started out with 32768 and also had serious issues. Net free space caused other dat files to truncate and the config.dat did not store any data. But all issues were solved with 28672 size. Test unit is running fine. even...
by FanOfHue
09 Feb 2020, 16:56
Forum: ESP Easy: Software
Topic: Please help with 1MB module
Replies: 20
Views: 17965

Re: Please help with 1MB module

If it isn't then the builds we make ourselves are also too big for the 1M 2-step OTA and thus it isn't that easy to get it small enough :) Same issue here on one of my test ESP01 modules. Instead of trying to get a smaller image, i think we could also try to gain some more space on ESP01 modules an...
by FanOfHue
08 Feb 2020, 17:33
Forum: ESP Easy: Software
Topic: ESP Easy plugin updates
Replies: 0
Views: 6974

ESP Easy plugin updates

Also got time to update an ESPEasy module with the latest ESPEasy release (20200204), updated and verified my custom plugins. This plugin connects ESP Easy to ESPCoreRules (UDP bus) and it's now compatible with the latest releases: https://github.com/SmartNodeRules/ESPEasyRules/blob/master/_P253_Sma...
by FanOfHue
08 Feb 2020, 17:24
Forum: ESP Easy: Software
Topic: ESPCoreRules build 7 on github
Replies: 3
Views: 7634

ESPCoreRules build 7 on github

Finally got some time to roundup and verify some recent updates to ESPCoreRules: - Rule engine supports JSON structured payloads (like the messages sent from Domoticz MQTT). No specific Domoticz plugin needed. - Numeric variables, string variables, named timers and the nodelist now uses dynamic memo...
by FanOfHue
05 Feb 2020, 21:08
Forum: ESP Easy: Hardware
Topic: Yet another doorsensor (WIP)
Replies: 2
Views: 8422

Yet another doorsensor (WIP)

Found another doorsensor on ebay. Same ESP module as the LSC doorsensor and a Tuya MCU. Firmware 1.0.0.0 and behaves different from the firmware version on LSC. Working on a adapted plugin for ESPCoreRules and it sort of works now. Haven't been able to measure with a logic analyzer yet but it looks ...
by FanOfHue
03 Feb 2020, 20:05
Forum: ESP Easy: Software
Topic: New ESP Easy plugin for ESPNOW
Replies: 16
Views: 19124

Re: New ESP Easy plugin for ESPNOW

tim wrote: 02 Feb 2020, 14:26 Negative point is that ESPCoreRules only has limited plugins and the ESPEasy plugins do not work with it. :( :( :( :( :(
Well, no one has asked for other plugins that i'm aware of.
by FanOfHue
03 Feb 2020, 20:03
Forum: ESP Easy: Software
Topic: New ESP Easy plugin for ESPNOW
Replies: 16
Views: 19124

Re: New ESP Easy plugin for ESPNOW

Think it would be better to start a new topic if you want to discuss on 1M modules, Tasmota and other things are really out of scope for this topic on ESPNOW plugin. ;)
by FanOfHue
03 Feb 2020, 20:01
Forum: ESP Easy: Hardware
Topic: New hackable ESP gadgets in local budget store "action" !!!
Replies: 112
Views: 241483

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

@fanofhue: Do you have something like a roadmap for ESPCoreRules? I recently needed JSON support within the event engine and also wanted to get the usage of uservars and timers more flexible and be able to resize limits at runtime. This looks ready by now and will be published as build nr 7. KISS a...
by FanOfHue
03 Feb 2020, 19:54
Forum: ESP Easy: Hardware
Topic: New hackable ESP gadgets in local budget store "action" !!!
Replies: 112
Views: 241483

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

Can you post it on github? I'm currently finishing work on build 7. Latest work is migrating all static allocated array structs to dynamic allocation that can be set at runtime instead of compile time. I just put it onto all production nodes at home to see if it looks stable enough to publish. May ...
by FanOfHue
31 Jan 2020, 16:47
Forum: ESP Easy: Hardware
Topic: New hackable ESP gadgets in local budget store "action" !!!
Replies: 112
Views: 241483

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

I've added BSSID and channel as option into ESPCoreRules and indeed it connects a lot faster than usual. Normal connect is about 3-4 seconds. With BSSID set, it is 1.05 second. ESP Boot takes 150 mSec, so total 1.2 seconds. The doorsensor takes 0,5 seconds to power up the ESP so that would take 1.7 ...
by FanOfHue
29 Jan 2020, 20:39
Forum: ESP Easy: Hardware
Topic: Battery goes down WAY too fast on ESP
Replies: 59
Views: 44685

Re: Battery goes down WAY too fast on ESP

Battery powered ESP sensor. ESPNOW protocol, report every 10 minutes. Discharge curve after 3 months of operation:
BatterySensor3months.png
BatterySensor3months.png (133.79 KiB) Viewed 7273 times
by FanOfHue
29 Jan 2020, 20:30
Forum: ESP Easy: Hardware
Topic: New hackable ESP gadgets in local budget store "action" !!!
Replies: 112
Views: 241483

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

Hi, I have a couple of PIR action switches running here for a while now. I wrote a super simple small firmware that will connect to wifi and send out a mqtt message. It is able to do it quite fast (< 1 second). It works reasonably well to switch the lights on, the is only a small delay compared to ...
by FanOfHue
29 Jan 2020, 20:23
Forum: ESP Easy: Hardware
Topic: New hackable ESP gadgets in local budget store "action" !!!
Replies: 112
Views: 241483

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

It was indeed the serial console speed - I don't know why, but I had to set it to 74880 to get it work :o Thanks That baud rate is specific to the ROM bootloader. It will indeed show a human readable ROM boot message instead of garbage. But ESPCoreRules works at 115200 by default. Do you receive an...
by FanOfHue
29 Jan 2020, 20:18
Forum: ESP Easy: Software
Topic: Rule engine and JSON event payload
Replies: 3
Views: 7949

Re: Rule engine and JSON event payload

I use ESPcorerules on my LCS doorsensor and i am happy the way it works now (really fast) Do i need to use this new JSON way of work? Will it also work with ESPEasy as gateway? For the sensor, using JSON does not add a real benefit. But i'm currently working on a solution to control an LSC smart pl...
by FanOfHue
04 Jan 2020, 16:38
Forum: ESP Easy: Software
Topic: Rule engine and JSON event payload
Replies: 3
Views: 7949

Rule engine and JSON event payload

After a year of successfully running ESPCoreRules with the rule engine based on ESP Easy, i felt a need for a bit more advanced event messages between devices. These messages should be able to handle additional metadata on a specific event, besides the information that could be obtained from the top...
by FanOfHue
21 Dec 2019, 14:57
Forum: ESP Easy: Hardware
Topic: New hackable ESP gadgets in local budget store "action" !!!
Replies: 112
Views: 241483

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

After two months of operation as test device, reporting every 10 minutes, the battery voltage is still ok and the decline during the last month is even lower than the first month: SensorBatVoltage.png Looks promising, so yesterday i've build the first two units for production use: DoorSensorModSI702...
by FanOfHue
05 Dec 2019, 20:25
Forum: ESP Easy: Hardware
Topic: New hackable ESP gadgets in local budget store "action" !!!
Replies: 112
Views: 241483

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

Robvs wrote: 02 Dec 2019, 12:06 The doorswitch does take 5 seconds to switch a light after the realtime state is changed (eg the magnet is removed or added)
is there any way to make this faster?
If Theo could as ESPNOW protocol to Tasmota it will be a lot faster (<1 Second)
by FanOfHue
05 Dec 2019, 20:00
Forum: Experimental
Topic: ESPCoreRules build 6 is out on github.
Replies: 0
Views: 29489

ESPCoreRules build 6 is out on github.

A friend of mine wanted to use an ESP module to enhance his RaspBerryPi/Domoticz system with a temperature sensor. So i provided a module with ESPCoreRules, but found out that the HTTP command was missing. I use WindowsRules to bridge all messagebus events to domoticz but he does not want to run a w...
by FanOfHue
27 Nov 2019, 21:18
Forum: ESP Easy: Software
Topic: New ESP Easy plugin for ESPNOW
Replies: 16
Views: 19124

Re: New ESP Easy plugin for ESPNOW

If no other project is active I see no point of us being the only one here (as in we should make a sole purpose forum). This is not decided or anything, just my personal thoughts. That might be a very good decision. Looks like most of the other letscontrolit projects are abandoned. Having very old ...
by FanOfHue
27 Nov 2019, 21:03
Forum: ESP Easy: Software
Topic: What can users do to make ESPEasy more attractive.
Replies: 16
Views: 10657

Re: OTA updates on 1MB devices

obod0002c wrote: 26 Nov 2019, 11:48 But it's also true: regardless how good our products are in some areas: we have to provide a stable version.
Second that. Also try to work out a lean,mean,stable core and focus only on plugins to enhance features. It's not my intention to be negative but isn't the core becoming a bit bulky?
by FanOfHue
27 Nov 2019, 20:54
Forum: ESP Easy: Hardware
Topic: Battery goes down WAY too fast on ESP
Replies: 59
Views: 44685

Re: Battery goes down WAY too fast on ESP

but also got my own written code, which boots, connects to Wifi, sends to MQTT and goes to sleep in well under a second . I'm so jealous! Can't get anything done in less then three seconds, unless using ESPNOW. I have to use an ESPNOW gateway, which adds another single point of failure in the loop....
by FanOfHue
27 Nov 2019, 20:41
Forum: ESP Easy: Hardware
Topic: M5Stick gadget
Replies: 1
Views: 5458

M5Stick gadget

Searching for M5Stick on this forum did not give any results, so i assume to be the first one to mention the existence of this gadget: M5Stick.png Loaded ESPCoreRules onto the ESP32 and added a plugin for the SH1107 OLED driver. Very nice to display a clock and cycle the display for other values aut...
by FanOfHue
24 Nov 2019, 15:56
Forum: ESP Easy: Software
Topic: New ESP Easy plugin for ESPNOW
Replies: 16
Views: 19124

Re: New ESP Easy plugin for ESPNOW

Also please have a look at the number of active developers. You can count them on one hand. Maybe even one finger as it seems mainly to be you. When i first came into contact with Letscontrolit, i thought that there would be a lot of developers, considering the various projects. But many projects s...
by FanOfHue
24 Nov 2019, 15:46
Forum: ESP Easy: Hardware
Topic: Battery goes down WAY too fast on ESP
Replies: 59
Views: 44685

Re: Battery goes down WAY too fast on ESP

It would be nice to see more project samples along with true battery life charts, so we could learn which way is best for battery operated sensor devices. I'm working on this LSC doorsensor mod that now is turned into a temperature//humidity sensor: DoorSensorMod.png I only have data for the last mo...
by FanOfHue
11 Nov 2019, 12:27
Forum: ESP Easy: Software
Topic: New ESP Easy plugin for ESPNOW
Replies: 16
Views: 19124

Re: New ESP Easy plugin for ESPNOW

But it currently works only for a few seconds :cry: :cry: , until the receiving ESP Easy connects to Wifi AP. ESPNOW and Wifi can't be used at the same time (AFAIK) You are correct. This is why i commented out the whole wifi part from my ESPNow hack. :) There are no collisions anymore. And the comp...
by FanOfHue
03 Nov 2019, 21:45
Forum: ESP Easy: Software
Topic: ESP Easy plugin update for SmartNodeRules
Replies: 0
Views: 7255

ESP Easy plugin update for SmartNodeRules

Just in case anyone uses this plugin, the update compiles without errors again on recent builds. Final work for this evening :geek: https://github.com/SmartNodeRules/ESPEasyRules However to make it really work, you should uncomment this line in ESPEasy.ino // PluginCall(PLUGIN_UNCONDITIONAL_POLL, 0,...
by FanOfHue
03 Nov 2019, 21:12
Forum: ESP Easy: Software
Topic: New ESP Easy plugin for ESPNOW
Replies: 16
Views: 19124

New ESP Easy plugin for ESPNOW

Also converted the ESPNOW code to ESP Easy, plugin P204. Added to the other stuff: :mrgreen: https://github.com/FanOfHue/Other I can now get a sensor response from ESP Easy (doorsensor) to a normal ESP Easy (NodeMCU) in about 1 second. But it currently works only for a few seconds :cry: :cry: , unti...
by FanOfHue
03 Nov 2019, 17:04
Forum: ESP Easy: Software
Topic: New ESPEasy plugin for LSC door and pir sensors
Replies: 0
Views: 7287

New ESPEasy plugin for LSC door and pir sensors

For those who hacked the LSC (Action store) door or PIR sensors, a small plugin demo to get the status into Domoticz using ESP Easy. Instructions contained within the plugin. Only tested on a nightly build. As the developers are not taking in any new plugins due to size issues and the playground is ...
by FanOfHue
28 Oct 2019, 20:48
Forum: ESP Easy: Hardware
Topic: New hackable ESP gadgets in local budget store "action" !!!
Replies: 112
Views: 241483

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

I tried to build my own firmware from here https://github.com/SmartNodeRules/ESPCoreRules with success but did not manage to get MQTT to work properly :( While waiting for the battery charts to evolve in Domoticz, i'm currently checking out MQTT (and maybe uMQTTBroker) again. The MQTT code exits be...
by FanOfHue
25 Oct 2019, 07:36
Forum: ESP Easy: Hardware
Topic: New hackable ESP gadgets in local budget store "action" !!!
Replies: 112
Views: 241483

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

Instead of info being scattered around this forum, I have added some more info on the github wiki, just in case someone wants to build one of my gadget projects. :geek: Howto on the door and pir sensor: https://github.com/SmartNodeRules/Documentation/wiki/SampleESPNOW Howto on the experimental tempe...
by FanOfHue
23 Oct 2019, 20:33
Forum: ESP Easy: Hardware
Topic: New hackable ESP gadgets in local budget store "action" !!!
Replies: 112
Views: 241483

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

happytm wrote: 19 Oct 2019, 21:28 Can you please publish the ESPNow code on GitHub so someone with these fancy equipment can test the code for us ? I myself do not have equipment to test it.

Thanks.
Build 5 seems stable, it has been running for several days here and the code is available on GitHub.
by FanOfHue
19 Oct 2019, 16:02
Forum: ESP Easy: Hardware
Topic: New hackable ESP gadgets in local budget store "action" !!!
Replies: 112
Views: 241483

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

Can you please calculate power consumption at different stages as shown above.It will be very useful to calculate battery life. Thanks. How would I be able to calculate this? I've seen one guy doing some sophisticated measurements on ESP like this: https://www.bakke.online/wp-content/uploads/2017/0...
by FanOfHue
16 Oct 2019, 20:00
Forum: ESP Easy: Hardware
Topic: New hackable ESP gadgets in local budget store "action" !!!
Replies: 112
Views: 241483

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

ESPNOW was a small but useful side step to improve the firmware for use on the LSC devices. For all that have asked for more detailed timing specifics, i hooked up a logic analyzer to get some accurate timings. Global graph, edge triggered on the reed contact, checking VCC power line and serial comm...
by FanOfHue
14 Oct 2019, 20:27
Forum: ESP Easy: Hardware
Topic: New hackable ESP gadgets in local budget store "action" !!!
Replies: 112
Views: 241483

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

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

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

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

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

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...
by FanOfHue
08 Oct 2019, 16:28
Forum: ESP Easy: Projects / Applications
Topic: TinyExtender project
Replies: 2
Views: 10937

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

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

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

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...