Search found 587 matches

by enesbcs
16 Apr 2020, 22:27
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 457050

Re: RPIEasy

So for 255 nodes, that would be a lot of messages being sent every minute. Indeed. The "send the data to all known peers" one-by-one is not a network friendly solution. (maybe a simple broadcast to node 0 -every device in one package- will require lesser resources) But without a central s...
by enesbcs
16 Apr 2020, 19:02
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 457050

Re: RPIEasy

OK I found it! I have re-submit on esp8266 side my sensor, so I cause sensordata resend 19:54:56 Sensordata update arrived from unit 2 19:54:56 Event: baro_out#Temperature=23.8 19:54:56 Event: baro_out#Pressure=1020.5 I repeat with other sensors and everything OK. I can't understand if that is poss...
by enesbcs
16 Apr 2020, 18:46
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 457050

Re: RPIEasy

Where UDP cast messaging is controlled? Do I have commit any special command? Should I fix any permissions? There are no special settings as root has rights for everything. Just make sure to press the submit button again on the ESPEasy side, as this is the only time, when RPIEasy creates new device...
by enesbcs
16 Apr 2020, 18:04
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 457050

Re: RPIEasy

At RPIEasy only P2P controller required at 8266 UDP Port. At home of each device are shown all nodes that communicate each other (that works) After a few seconds (or 1 minute) esp8266 must populate tasks 3,4,5 of RPIEasy (that not works). Final step is to enable at RPI Easy tasks 3,4,5 and voila da...
by enesbcs
16 Apr 2020, 17:28
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 457050

Re: RPIEasy

2) A DB controller is available. This is a HUGE improvement to log data from my ESP8266. Is there any quick info how can I setup it? I mean I have to create db schema, or create tables etc. First install prerequisites at Dependency page as usual. Then drop DB controller in, set it up to SQLite and ...
by enesbcs
16 Apr 2020, 17:26
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 457050

Re: RPIEasy

svasiliou wrote: 16 Apr 2020, 14:53 At RPIEasy all nodes are shown but devices are not populated.
I did not tested ESPEasy P2P controller in RPIEasy since it has developed.
If you describe what devices and how added at ESPEasy side, i will try the same.
by enesbcs
15 Apr 2020, 20:55
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 457050

Re: RPIEasy

Cool project!! I still must have an Orange PI zero somewhere in the collection of abandoned projects. Ordered because it was only 14 euro. I thought it was the same as Raspberry pi but it was not. But could this run RPIEasy? I remember that i ran Armbian firmware on it. After more than 1 year i can...
by enesbcs
08 Apr 2020, 13:43
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 960188

Re: Serial MCU controlled relay/switch

Now, after three years, i have decomissioned my last _Tuya based serial device_ from my home, replaced by Sonoff and Shelly devices. They are unnecessarily complicated by design and the firmware replacement process is also complex, so i will not buy any of them in the future. FYI: Further support of...
by enesbcs
05 Apr 2020, 19:47
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 457050

Re: RPIEasy

You currently use output = os.popen(self.taskdevicepluginconfig[val2]) Isn't it better to use something like: output = = subprocess.call(self.taskdevicepluginconfig[val2])) or if you want to check on the output (returned as a byte string) Better? I do not think so. Different? Absolutely. popen work...
by enesbcs
02 Apr 2020, 19:14
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 457050

Re: RPIEasy

The same "nothing" output with the python script : 21:31:26 : Event: ouvrirPorte#State=0 21:31:54 : CMD: TaskValueSet 2,1,1 21:31:54 : 21:31:54 : Event: ouvrirPorte#State=1 Well, I'm stuck... I think I'm gonna reinstall everything to be sure that I didn't make a mistake somewhere. Thanks ...
by enesbcs
01 Apr 2020, 22:09
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 457050

Re: RPIEasy

But the python script isn't launched... I also tried with sudo, but without success. Is there another log I could check to understand what happen "under the hood"? I've tested it now. When i am trying to execute an invalid command i am seeing this error message on the Linux Console: 22:03...
by enesbcs
01 Apr 2020, 19:03
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 457050

Re: RPIEasy

in the ssh terminal, when using the exact complete path to the script that I use in the "Command" box and it works... (rights are OK, had a +x). I ... 16:56:29 : CMD: /usr/bin/python3 /home/pi/nukiPyBridge/open.py 16:56:29 : Unknown command: /usr/bin/python3 /home/pi/nukiPyBridge/open.py ...
by enesbcs
30 Mar 2020, 17:16
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 457050

Re: RPIEasy

in the ssh terminal, when using the exact complete path to the script that I use in the "Command" box and it works... (rights are OK, had a +x). I must be doing something wrong, but can't get what. Have you got any idea? You mean you've tried "/usr/bin/python3 complete/path/of/python...
by enesbcs
29 Feb 2020, 08:35
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 960188

Re: Serial MCU controlled relay/switch

if it's possible to compile the plugin with the current sourcecode. Preferably with Platformio. Where's the main problem ? The main problem is, that the ESPEasy source code evolved much with the controllers&plugins handling, and replaced the full serial library at 2018.12.31. So the current P16...
by enesbcs
22 Feb 2020, 19:55
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 457050

Re: RPIEasy

for lazy coders who struggle with numbers. Quite the opposite, I struggle with words! It's about writing code that is descriptive. With numbers one has to either keep commenting what the GPIO x represents or keep looking up what x represents or trying to remember what x represents. Once my code is ...
by enesbcs
22 Feb 2020, 10:24
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 960188

Re: Serial MCU controlled relay/switch

i flashed le last post esp8266 firmware ( v147, 1MB 64kb) ,its ok serial mcu is good my relay shuting down good ! no im trying to get the (v200 1MB ,128K ), when i flashed i have a probleme with config dat writing ( at wifi register page ) , and "PID" bug , and after a boot loop , what is...
by enesbcs
19 Feb 2020, 17:49
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 457050

Re: RPIEasy

Thanks for clarifying the existance of the rules halt command. It is not mentioned on the Commands page https://www.letscontrolit.com/wiki/index.php?title=GPIO#Commands Yes, as the ESP8266 has no real shutdown function, but Raspberry Pi has, so i've added it. https://github.com/enesbcs/rpieasy/wiki...
by enesbcs
19 Feb 2020, 07:07
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 457050

Re: RPIEasy

Hi. I note that ESP8266 system has System#Wake and System#Boot. Do these work with RPi Easy and is there a System command for closedown/stopping? On the matter of closedown. If I run RPi Easy as a system task then is RPi Easy happy to be stopped via the Shutdown Now command? Yes "shutdown now&...
by enesbcs
18 Feb 2020, 23:10
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 457050

Re: RPIEasy

but it would be nice to give the output GPIOs names like the inputs. There is an existing Output helper plugin, that can be used for a similar manner. https://github.com/enesbcs/rpieasy/blob/master/_P029_DomoOutput.py If you define one, you can change its state with "taskvalueset,tasknumber,va...
by enesbcs
16 Feb 2020, 16:37
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 457050

Re: RPIEasy

Thanks for the link - I don't think I would have found it as the page seems to be orphaned. I did note that the Email-Notification inside ESPEasy does not support SSL Does that apply to RPi Easy? I think I read that RPi Easy is written in Python and I note that Python supports smtplib.SMTP_SSL(). I...
by enesbcs
16 Feb 2020, 07:47
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 457050

Re: RPIEasy

For the GPIO24 I defined it as an Input of type Normal Switch but I was perplexed by the statement on the form: Note: Use only normal switch for output type, i warned you! I'm wary of setting an input as output - I don't want to cook my pi! And what is the warning? If you use Pushbutton type in the...
by enesbcs
14 Feb 2020, 20:42
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 457050

Re: RPIEasy

https://www.letscontrolit.com/wiki/index.php/Tutorial_Rules#Comment which uses // for comments (as referred to by enesbcs Indeed. ESPEasy rules are well documented: https://www.letscontrolit.com/wiki/index.php/Tutorial_Rules Which is true, ESPEasy rules are well documented. And around 90% of them i...
by enesbcs
14 Feb 2020, 20:34
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 457050

Re: RPIEasy

Try using a hashtag # symbol for comments. On RPIEasy the rules are interpreted using python. (I believe) You are right, "IF" conditions forwarded directly to python interpreter, so # will work on these lines. On the other hand, custom commands are not aware of these. Standard // comments...
by enesbcs
14 Feb 2020, 20:12
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 457050

Re: RPIEasy

Comments at the end of a rule statement causes the rule to not work or to work erratically. Yep. Honestly i never comment on my own rules to myself, so i never saw this error yet. :) As previously discussed, having the option to state that an event is triggered by rising/falling may solve the probl...
by enesbcs
13 Feb 2020, 23:39
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 457050

Re: RPIEasy

Issue 1: MQTT: I amended the rules to state Publish "RPIEasy/ShutdownButton",[ShutdownButton#State] I've used this: Publish RPIEasy/ShutdownButton,[ShutdownButton#State] and it arrives according to mosquitto_sub ... i do not know what do you want exactly with those apostrophes, neither ES...
by enesbcs
11 Feb 2020, 18:30
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 457050

Re: How to use esp8266 / esp8285 as a WiFi relay

xyh569923911 wrote: 11 Feb 2020, 09:35 1.Preparation
Prepare an esp-f module of Shenzhen Doit Technology Co., Ltd., or a nodemcu of Doit Technology Co., Ltd
This is neither RPIEasy nor Raspberry PI related, you have missed the topic.
(Honestly this post is not even ESPEasy related...)
by enesbcs
11 Feb 2020, 18:27
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 457050

Re: RPIEasy

If there are syntax errors in the rules, do they appear on the console? "Debug level" console logging gives some idea what is happening in the background. I did not implemented the full rule engine, interpreter simply forwards commands to plugins (which returns only simple False in case o...
by enesbcs
10 Feb 2020, 17:47
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 457050

Re: RPIEasy

I'm struggling to get an easy initial test going as I've not found any manuals or guides. Its a free software which means that it's free to anyone to write manuals and guides... :) I've written a short instructable in english here: https://www.instructables.com/id/RPIEasy-RPI-Based-Multisensor-Devi...
by enesbcs
09 Feb 2020, 14:55
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 960188

Re: Serial MCU controlled relay/switch

ESPEasy with P165 + Ds18b20
compiled with core 2.5.2
by enesbcs
07 Feb 2020, 18:43
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 960188

Re: Serial MCU controlled relay/switch

exist there a Version, or is it possible for the 1M ESP-01 that the LcTech Relays working together with DS18B20 Temp Sensors? The ESP-01 only has GPIO-0 and GPIO-2 neither of them are optimal for an input pin, but can be done. The plugin source is available from github and there are several hints i...
by enesbcs
06 Feb 2020, 17:37
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 960188

Re: Serial MCU controlled relay/switch

Am I right?....do I absolutely need MQTT broker? Controlling a relay is available either by URL or MQTT, with the standard ESPEasy methods: https://www.letscontrolit.com/wiki/index.php/ESPEasy_Command_Reference nygma wrote a complete guide at 2018: https://www.letscontrolit.com/forum/viewtopic.php?...
by enesbcs
05 Feb 2020, 21:11
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 960188

Re: Serial MCU controlled relay/switch

No network when using both files you told me: P165 BETA1M 128 as well as BETA4M 1M. Just a hint: when you flash the same device with different ESPEasy main versions after each other, do a "full erase" when uploading with serial, they use different data format in flash SPIFF. Could help a ...
by enesbcs
05 Feb 2020, 17:59
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 960188

Re: Serial MCU controlled relay/switch

I sent command through IP and the device works but I can activate two of four relay. What do I miss? If you flashed the device with the binary that i proposed: ESPEasy_P165.BETA.1M_128k.bin (2019.12.20) then it has to be a "Number of relays" settings on the Serial MCU controlled switch pl...
by enesbcs
03 Feb 2020, 20:15
Forum: ESP Easy: General Discussion
Topic: [Solved] Get temperature from domoticz to display it
Replies: 9
Views: 15199

Re: Get temperature from domoticz to display it

Now I have to find how to send it from Domoticz with the correct value. I think I have to use dzvents... If someone can help me on this =) Either LUA or dzVents can be used. Sensor values can be appended as strings. dzVents: -------- local url = 'http://10.0.0.99/control?cmd=tempext,20' domoticz.op...
by enesbcs
02 Feb 2020, 22:35
Forum: ESP Easy: General Discussion
Topic: [Solved] Get temperature from domoticz to display it
Replies: 9
Views: 15199

Re: Get temperature from domoticz to display it

manubis_sanchez wrote: 02 Feb 2020, 15:45 I think I have to create a dummy device on ESPeasy and use a rule to feed it... but I don't know how exactly.
For example eventvalue:
https://www.letscontrolit.com/wiki/inde ... alue.25.29
by enesbcs
01 Feb 2020, 19:34
Forum: ESP Easy: Software
Topic: New ESP Easy plugin for ESPNOW
Replies: 16
Views: 19130

Re: New ESP Easy plugin for ESPNOW

I spend some time looking for action LSC stuff firmware. It's all Tasmota today what you see. Not only LSC but all Tuya based stuff. All people convert from china firmware to Tasmota. I do not know all the reasons but seems ESP Easy is not so popular anymore? Tasmota is more friendly to 1M flash de...
by enesbcs
31 Jan 2020, 17:37
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 960188

Re: Serial MCU controlled relay/switch

Hey all. My first post after a quite long reading. I am playing with IoT and had some successes....quite simple tests. I would like to use a lctech 4 relay channell with ESP8266 over the internet and my understanding is I must flash a new firmware. The one that could apply to my device seems to be ...
by enesbcs
26 Jan 2020, 09:53
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 960188

Re: Serial MCU controlled relay/switch

Cosimo wrote: 25 Jan 2020, 23:59 - platform: mqtt

Not work ,my friend....WHY???
Maybe you did not add the necessary mqtt controller to espeasy.
Mosquitto_pub and Mosquitto_sub is a great tool in case of mqtt debuggin:
http://www.steves-internet-guide.com/mo ... b-clients/
by enesbcs
24 Jan 2020, 18:49
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 459
Views: 960188

Re: Serial MCU controlled relay/switch

I don't know how to declare my lctech 4ch in Hassio. I wrote this in the configuration.yaml mo but it doesn't work what am I wrong? - platform: mqtt name: "LCtech" command_topic: "cmnd/lctech/Relay0/power" state_topic: "stat/lctech/Relay0/POWER" I do not know neither H...
by enesbcs
19 Jan 2020, 14:12
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 457050

Re: RPIEasy

Hi Enesbcs, do you think that in rpieasy can be implemented an alternative plugin from Tasmota project called 'scripts' to the existing implemented plugin 'rules". It looks that scripts can handle better some of complex tasks. Thank you Sorry, i am using tasmota only for simple on/off sonoff d...
by enesbcs
05 Jan 2020, 23:27
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 457050

Re: RPIEasy

problem with the PCF stays the same. (when i send the comman PCFGPIO,2,1 the 2nd output of the PCF goes high, but the 1st output goes low again) In version 2.0.005 i did everything i could to stay sync with "output" statuses. As you know, the PCF8574 is not really made for output, it is d...
by enesbcs
04 Jan 2020, 09:21
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 457050

Re: RPIEasy

bruno iemanon wrote: 03 Jan 2020, 22:48 I don't know anything about github.
What is the simplest way to update to the newest version?
There is an Update button in RPIEasy at Tools menu.
by enesbcs
03 Jan 2020, 21:10
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 457050

Re: RPIEasy

bruno iemanon wrote: 03 Jan 2020, 20:58 20:55:51 : PCFGPIO1: name 'Settings' is not defined >> (what does this means?)
It means i had a typo in the plugin source code. Fixed in RPIEasy v2.0.003
by enesbcs
02 Jan 2020, 22:32
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 457050

Re: RPIEasy

So when i send all the 8 mqtt messages with value "1" (retained). All the values in rpieasy are turned into "1" but in reality only PCFGPIO 8 is high and all the rest returned to low. Interesting. Did you try the "PCFGPIO,<pin>,<state>" command also? PCF8574 is a very ...
by enesbcs
02 Jan 2020, 20:23
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 457050

Re: RPIEasy

bruno iemanon wrote: 02 Jan 2020, 19:25 Great, it works!
Thanks a lot for your advice, and for your patiance.
No problem. I just started to modify the controller to handle non-standard templates.
by enesbcs
02 Jan 2020, 19:03
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 457050

Re: RPIEasy

Thanks again for your advie. But I'm afraid i don't have sufficient knowlegde to fully understand your advice. Ok, i'll show you an example. The test RPIEasy system name is "rpieasy" (Config page) 1/ Generic MQTT controller added, with the MQTT broker IP address and with default report to...
by enesbcs
29 Dec 2019, 16:43
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 457050

Re: RPIEasy

To simplify i use: Report topic: %valname% Command topic: %valname% It will never work, with neither devices. Report and command topic can not be the same! I will fix this bug to not let it submit. This could work for example with an Output helper plugin for standard GPIO's: %valname%/status %valna...
by enesbcs
28 Dec 2019, 21:17
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 332
Views: 457050

Re: RPIEasy

Is there a way to import MQTT - values? Both Domoticz MQTT and Generic MQTT controllers supports two way communications in RPIEasy. For example if you have added a "Generic MQTT controller" and a "Dummy device", than you can send variables to RPIEasy devices from MQTT through th...
by enesbcs
26 Dec 2019, 15:26
Forum: ESP Easy: Hardware
Topic: ESP-WROOM-32
Replies: 3
Views: 8427

Re: ESP-WROOM-32

Well this proves I am a complete noob. Short: I can not use this for the salt level indicator ? I guess you can, slightly changing the config file to use ESP32 instead ESP8266 in ESPHome. But this is not the ESPHome forum, this is the ESPEasy forum. I've never used neither ESPHome, nor Home Assista...
by enesbcs
26 Dec 2019, 14:39
Forum: ESP Easy: Hardware
Topic: ESP-WROOM-32
Replies: 3
Views: 8427

Re: ESP-WROOM-32

Santa brought me a ESP-WROOM-32 because I would like to make a salt-level-indicator. I thought I could easily follow the instructions found here https://adonno.com/salt-level-sensor/ The site you are linked are especially using ESP8266 D1 Mini. The image you posted is an ESP32 D1 Mini Pro it is not...