Search found 45 matches

by thalesmaoa
28 Aug 2024, 01:34
Forum: ESP Easy: Software
Topic: CANBus dev
Replies: 10
Views: 5913

Re: CANBus dev

I'm really happy to read this. Thank you very much. I'm comfortable now of what I'm doing and to share it. I'm sure I've made some mistake stating that wifi is priority. Let me clarify, maybe you can show me a possible solution. I've made a thermocouple board using ESPEasy and CANBus. I dont use eth...
by thalesmaoa
27 Aug 2024, 23:59
Forum: ESP Easy: Software
Topic: CANBus dev
Replies: 10
Views: 5913

Re: CANBus dev

Hi, returning to the topic. Commands work now, and I have to clean the code before a PR. I will perform it in the next couple weeks. However, I want to hear from you about your perspective. Do you see ESPEasy for indutrial application? Is this more focused on domotics and hobbits? I should first cla...
by thalesmaoa
18 Aug 2024, 23:14
Forum: ESP Easy: Software
Topic: CANBus dev
Replies: 10
Views: 5913

Re: CANBus dev

There seem to be a few somewhat different versions of CAN bus, what version is supported here, 2.0, 2.0A, 2.0B, FD, XL? Especially the supported payload is different, from 8 to 2048 bytes, and that can be somewhat of a challenge for MCUs. Shouldn't the protocol version be part of the functional con...
by thalesmaoa
18 Aug 2024, 18:17
Forum: ESP Easy: Software
Topic: CANBus dev
Replies: 10
Views: 5913

Re: CANBus dev

DO NOT place your images on an external service Ok. Fixed in the original post. Your CAN bus Controller looks like what we call a Plugin that can be configured in a Task, Sorry, I'm a bit confused. Probably, my fault of not being clear. I do have a controller just to send data. In the other end, I ...
by thalesmaoa
18 Aug 2024, 16:53
Forum: ESP Easy: Software
Topic: CANBus dev
Replies: 10
Views: 5913

CANBus dev

Hi! My friend and I are working with a CANBus controller to build a reliable network for sending and receiving data. I plan to share the development progress so far to get some feedback and suggestions. Also, this will help avoid messing up the code before making a pull request. The basic structure:...
by thalesmaoa
18 Aug 2024, 03:10
Forum: Experimental
Topic: Exploring RTOS plugin possibilities
Replies: 23
Views: 47675

Re: Exploring RTOS plugin possibilities

Noted. I will not work with it. Thx
by thalesmaoa
17 Aug 2024, 16:49
Forum: Experimental
Topic: Exploring RTOS plugin possibilities
Replies: 23
Views: 47675

Re: Exploring RTOS plugin possibilities

Hi there, despite of being an old topic. This one is the best reference I could find so far about RTOS. During some dev in espeasy code I've noticed an option called: Enable RTOS Multitasking. I've been working with CANBus (CAN) and one of their main advantages are reliability and error handling. I ...
by thalesmaoa
16 Aug 2024, 05:24
Forum: ESP Easy: General Discussion
Topic: ESP32Custom Platformio OTA update error
Replies: 22
Views: 12647

Re: ESP32Custom Platformio OTA update error

Hi Ath. Yes! There is a custom definition already. Also, I haven't modify the already defined env, I've built a new one. 8-) I did edit the platformio_esp32_envs.ini [env:normal_ESP32_4M316k_CAN] extends = env:normal_ESP32_4M316k In fact, I've done this for two main reasons. The first one is better ...
by thalesmaoa
15 Aug 2024, 19:57
Forum: ESP Easy: General Discussion
Topic: ESP32Custom Platformio OTA update error
Replies: 22
Views: 12647

Re: ESP32Custom Platformio OTA update error

It is working. However, we are now changing the implementation following MQTT Import to CAN Import.
I will share it soon.
by thalesmaoa
15 Aug 2024, 02:32
Forum: ESP Easy: General Discussion
Topic: ESP32Custom Platformio OTA update error
Replies: 22
Views: 12647

Re: ESP32Custom Platformio OTA update error

Hi TD-er. No, I'm not. From your question I realized that I was forgetting the CUSTOM_H flag. Now everything works. Thanks a lot. Just will figure now how to see the log in pio.lol [env:normal_ESP32_4M316k_CAN] extends = env:normal_ESP32_4M316k build_flags = ${env:normal_ESP32_4M316k.build_flags} -D...
by thalesmaoa
14 Aug 2024, 23:51
Forum: ESP Easy: General Discussion
Topic: ESP32Custom Platformio OTA update error
Replies: 22
Views: 12647

Re: ESP32Custom Platformio OTA update error

I'm doing something wrong now.

In Advanced setting I only have
Allow OTA without size-check

Image

Enabling this should be enough to show this option?
by thalesmaoa
14 Aug 2024, 20:06
Forum: ESP Easy: General Discussion
Topic: ESP32Custom Platformio OTA update error
Replies: 22
Views: 12647

Re: ESP32Custom Platformio OTA update error

Hi Ath, thank you for following. I can be wrong, but it seems that there is. If you follow the post and TD-er suggestion, it does try to upload using OTA feature. There is also PIO doc regarding it. https://docs.platformio.org/en/latest/platforms/espressif32.html#over-the-air-ota-update I'm currentl...
by thalesmaoa
14 Aug 2024, 19:14
Forum: ESP Easy: General Discussion
Topic: ESP32Custom Platformio OTA update error
Replies: 22
Views: 12647

Re: ESP32Custom Platformio OTA update error

Sorry @TD-er! I'm trying to develop a new controller using CAN for ESP32. Thus, I'm using PlatformIO, in order to speed up test, I want to upload my code using OTA to ESPEasy directly from pio. I have enabled it in Custom.h file. Also, I followed your config from the last post. However, it states th...
by thalesmaoa
14 Aug 2024, 00:07
Forum: ESP Easy: General Discussion
Topic: ESP32Custom Platformio OTA update error
Replies: 22
Views: 12647

Re: ESP32Custom Platformio OTA update error

Hi there, I try to follow it. However, I can't make it work. Any help on how to debug it?
by thalesmaoa
20 May 2023, 22:39
Forum: ESP Easy: Software
Topic: Feature Request - PME
Replies: 8
Views: 2624

Re: Feature Request - PME

Just realized that I need to create a controller.
Any tip where to start?
by thalesmaoa
20 May 2023, 15:20
Forum: ESP Easy: Software
Topic: Feature Request - PME
Replies: 8
Views: 2624

Re: Feature Request - PME

:o :shock: Thanks Ath! You gave me a lot to think of. Sorry, PME is the plugin ProMini Extender indeed. I have tons of other questions, but let me try to ask them one by one. Probably, the best solution will arise. From the back to the start, you have a great point regarding the ESP32. If I get it r...
by thalesmaoa
20 May 2023, 01:01
Forum: ESP Easy: Software
Topic: Feature Request - PME
Replies: 8
Views: 2624

Feature Request - PME

Hi, not sure where I should start this topic. Here or github. I've being looking for ways to extend my IOs and found that PME is by far the best solution. However, there are some flaws. I need almost 48 IOs distributed in 4 different boards. The I2C is a perfect solution since I can wire those board...
by thalesmaoa
28 Apr 2023, 21:49
Forum: ESP Easy: General Discussion
Topic: Dummy TaskValueSet from examples not working
Replies: 10
Views: 3451

Re: Dummy TaskValueSet from examples not working

Right! Sorry. I have a extremely poor wifi connection. I've looked for OpenHab (MQTT plugin), but I couldn't find a way to enable QoS = 1. In order to guarantee a message delivery, I keep sending the value every 5s. Dumb workaround. :roll: Sometimes I get, others, don't. This is why I need ESPEasy s...
by thalesmaoa
28 Apr 2023, 16:46
Forum: ESP Easy: General Discussion
Topic: Dummy TaskValueSet from examples not working
Replies: 10
Views: 3451

Re: Dummy TaskValueSet from examples not working

:o I see great improvement from the last time I've built a ESPEasy device. I can get a small glimpse of the usage. However, it is better to share my application. From those new features, perhaps there is a better way of performing it. I have a pump which I remotely turn on. But I want to turn it off...
by thalesmaoa
28 Apr 2023, 12:36
Forum: ESP Easy: General Discussion
Topic: Dummy TaskValueSet from examples not working
Replies: 10
Views: 3451

Re: Dummy TaskValueSet from examples not working

That's the 'old' way of having a LoopTimerSet command Thanks, I will look into it. It might be helpful to add a SysInfo task with an Interval of 1 second to get quick updates. Let me see if I get it right. You mean that I need to add a device like this one: https://www.letscontrolit.com/wiki/index....
by thalesmaoa
28 Apr 2023, 04:36
Forum: ESP Easy: General Discussion
Topic: Dummy TaskValueSet from examples not working
Replies: 10
Views: 3451

Dummy TaskValueSet from examples not working

Hello, I've read a lot of posts with related topics. Also checked from docs. However, I can't understand why I'm not able to check dummy var. on Rules#Timer=3 do if [dummy#var1]=0 TaskValueSet dummy,var1,1 else TaskValueSet dummy,var1,0 endif timerSet,3,2 endon It always set zero. 590457: EVENT: Rul...
by thalesmaoa
23 Apr 2023, 15:01
Forum: ESP Easy: Hardware
Topic: Hardware suggestions with limited Ethernet link
Replies: 4
Views: 1719

Re: Hardware suggestions with limited Ethernet link

Hi @Ath, appreciate your help. I need to connect 6 thermocouples (mostly SPI IC), 2 load cells (4-20mA with shunt and I2C ADC), 10 relays, and 5 digital input DI. I'm looking to replace an old industrial device that uses ethernet/ip and has a gateway with modules connected to it for thermocouples, D...
by thalesmaoa
23 Apr 2023, 03:28
Forum: ESP Easy: Hardware
Topic: Hardware suggestions with limited Ethernet link
Replies: 4
Views: 1719

Hardware suggestions with limited Ethernet link

Hello everyone, I'm in need of some help to solve my problem with espeasy. I have a container with a poor WiFi connection, and unfortunately, I cannot improve it. However, I do have an Ethernet cable that I'm using to connect to espeasy. The issue is that I'm running out of pins to add more sensors ...
by thalesmaoa
31 Jul 2022, 22:39
Forum: ESP Easy: General Discussion
Topic: ESP IDLE during Wifi Connection
Replies: 12
Views: 7173

Re: ESP IDLE during Wifi Connection

Solved!

https://github.com/letscontrolit/ESPEas ... imitations

It can only subscribe to QoS 0 or 1.

Thanks!
by thalesmaoa
31 Jul 2022, 21:02
Forum: ESP Easy: General Discussion
Topic: ESP IDLE during Wifi Connection
Replies: 12
Views: 7173

Re: ESP IDLE during Wifi Connection

Awesome! I will take a look as well. Maybe I can help with something.
by thalesmaoa
31 Jul 2022, 20:59
Forum: ESP Easy: General Discussion
Topic: Resilient wifi
Replies: 5
Views: 3954

Re: Resilient wifi

I already have support for LoRaWAN on TTN using the RN2483 module. This way you can send data to both MQTT and LoRaWAN. If you need to keep track of recorded data which may never get lost and in case of some network failure can be pulled manually (or scripted) after the network connectivity has bee...
by thalesmaoa
31 Jul 2022, 04:54
Forum: ESP Easy: General Discussion
Topic: Resilient wifi
Replies: 5
Views: 3954

Re: Resilient wifi

I do agree. I just wanna avoid cables for connection. I have to install sensors in some places where it is difficult to put communication cables. Just to mention an example (https://www.terabee.com/shop/level-monitoring/terabee-lora-level-monitoring/) In an industrial plant, physical layers and thei...
by thalesmaoa
31 Jul 2022, 04:40
Forum: ESP Easy: General Discussion
Topic: ESP IDLE during Wifi Connection
Replies: 12
Views: 7173

Re: ESP IDLE during Wifi Connection

Just to close this topic, I found the problem. Probably my own ignorance...

The retain flag was not working because QoS in the broker was set to 2. ESPEasy QoS is 0. When I put QoS 1 or 0 in the broker side, it does work.
I appreciate if anyone can explain if this behavior is normal or just a bug.
by thalesmaoa
31 Jul 2022, 01:21
Forum: ESP Easy: General Discussion
Topic: Resilient wifi
Replies: 5
Views: 3954

Resilient wifi

I've been using ESPEasy in my house for quite some time now. I want to make the next step and take it to the industrial level. I have some boards that work only for sensor purposes. I can replace my own code with ESPEasy. My only concern is about communication failure. Let's suppose the AP fails. Al...
by thalesmaoa
22 Jul 2022, 15:26
Forum: ESP Easy: General Discussion
Topic: ESP IDLE during Wifi Connection
Replies: 12
Views: 7173

Re: ESP IDLE during Wifi Connection

Ok. Now it is almost clear that I got the idea correct. I did have the correct idea about MQTT and about the retain flag principle. I already have a MQTT server with a UPS, so it never turns off. The way I expect it to work: MQTT Broker send on state to the module. MQQT SERVER --> ESPeasy/gpio/12/1 ...
by thalesmaoa
21 Jul 2022, 13:49
Forum: ESP Easy: General Discussion
Topic: ESP IDLE during Wifi Connection
Replies: 12
Views: 7173

Re: ESP IDLE during Wifi Connection

Perfect. Can you please point a way to debug retain? It is not working. Not sure if is my config.

I'm using Home Assistant (openHAB) MQTT
Options enabled:
- Send LWT to broker
- Will Retain
by thalesmaoa
21 Jul 2022, 02:01
Forum: ESP Easy: General Discussion
Topic: ESP IDLE during Wifi Connection
Replies: 12
Views: 7173

Re: ESP IDLE during Wifi Connection

Yes. Wifi is one problem. Thank you. Do you have multiple access points with the same SSID? Are they configured in WiFi mesh? No. I have three SSID with different names. All of them are AP. Settings to check on the tools->Advanced page: - Have you tried to set the node to use 802.11 b/g only? (this ...
by thalesmaoa
20 Jul 2022, 04:19
Forum: ESP Easy: General Discussion
Topic: ESP IDLE during Wifi Connection
Replies: 12
Views: 7173

ESP IDLE during Wifi Connection

https://i.postimg.cc/CxCqMcXT/image.png I'm increasing the number of devices in my network. Two of them has poorly wifi connection. During boot, node 107 takes almost 10min to establish a connection. Afterwise, it operates smoothly. I thus have two problems to solve: 1) In case of power failures, 1...
by thalesmaoa
28 Dec 2020, 20:32
Forum: ESP Easy: General Discussion
Topic: Can I control my device by its name?
Replies: 5
Views: 7403

Re: Can I control my device by its name?

Hi there, I'm still looking for some help. thanks
by thalesmaoa
24 Dec 2020, 02:20
Forum: ESP Easy: General Discussion
Topic: Can I control my device by its name?
Replies: 5
Views: 7403

Re: Can I control my device by its name?

I use NodeRed with Mosca Aedes server. For ESPEasy I just selected Home Assistant (openHAB) MQTT.
by thalesmaoa
23 Dec 2020, 23:45
Forum: ESP Easy: General Discussion
Topic: Can I control my device by its name?
Replies: 5
Views: 7403

Can I control my device by its name?

I'm using mqtt with gpio/17 topic to change my relay state.
I just follow some examples over the internet. However, I was wondering, and couldn't find an appropriate answer.

Why I can't set it by device name?
SW01/Value
I need to implement a Rule for it?
by thalesmaoa
08 Dec 2020, 16:06
Forum: ESP Easy: General Discussion
Topic: Sonoff Rule On System#Boot not working
Replies: 10
Views: 13256

Re: Sonoff Rule On System#Boot not working

Thank you! I think that will fix my problem.
by thalesmaoa
08 Dec 2020, 15:50
Forum: ESP Easy: General Discussion
Topic: Sonoff Rule On System#Boot not working
Replies: 10
Views: 13256

Re: Sonoff Rule On System#Boot not working

After your suggestions I found the problem, however I don't know how to fix it. As it seems, GPIO-0 toogles at boot time. Since I have this rule to check the button state, ESPEasy understand that is a press button event and turn the lights on. If I comment the rule, the light doesn't turn on. //on b...
by thalesmaoa
08 Dec 2020, 01:04
Forum: ESP Easy: General Discussion
Topic: Sonoff Rule On System#Boot not working
Replies: 10
Views: 13256

Re: Sonoff Rule On System#Boot not working

lol... I will google it. https://i.postimg.cc/x1WvB3b5/Captura-de-tela-de-2020-12-07-20-54-39.png I guess a normal switch. About MQQT it only receive 1 or 0. Retain is set to false. https://i.postimg.cc/QMmMcXs7/Captura-de-tela-de-2020-12-07-20-59-09.png https://i.postimg.cc/FHZfVbV1/Captura-de-tela...
by thalesmaoa
07 Dec 2020, 22:03
Forum: ESP Easy: General Discussion
Topic: Sonoff Rule On System#Boot not working
Replies: 10
Views: 13256

Re: Sonoff Rule On System#Boot not working

No, I don't. Simple switch button and the rules presented.

Image

None of them send boot state.

I'm not sure what Domoticz MQTT helper is, but I only have openhab mqtt configured.
by thalesmaoa
07 Dec 2020, 18:18
Forum: ESP Easy: General Discussion
Topic: Sonoff Rule On System#Boot not working
Replies: 10
Views: 13256

Re: Sonoff Rule On System#Boot not working

System#Boot event using a 20201022 I was afraid you would say that. Can you provide an example? Here is my full code: on button#switch do if [button#switch]=1 gpio,12,1 else gpio,12,0 endif endon on relay#switch do if [relay#switch]=1 //change this [relay#switch]=0 for LED off when relay is closed ...
by thalesmaoa
07 Dec 2020, 15:42
Forum: ESP Easy: General Discussion
Topic: Sonoff Rule On System#Boot not working
Replies: 10
Views: 13256

Sonoff Rule On System#Boot not working

Hi there, Everytime my sonoff reboot it send relay to 1. I've configured a rule inside my espeasy / Sonoff basic to force it to low: on System#Wake do gpio,12,0 endon However the relay keeps going to 1. I've made a test wih on MQTT#Connected do gpio,12,0 endon and is working. After some digging I fo...