Search found 478 matches

by enesbcs
02 Apr 2020, 19:14
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 219
Views: 52261

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 for your h...
by enesbcs
01 Apr 2020, 22:09
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 219
Views: 52261

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:06: CMD: ...
by enesbcs
01 Apr 2020, 19:03
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 219
Views: 52261

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 There has ...
by enesbcs
30 Mar 2020, 17:16
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 219
Views: 52261

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/pythonscript.py" ? Th...
by enesbcs
29 Feb 2020, 08:35
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 387
Views: 154220

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 P165 wi...
by enesbcs
22 Feb 2020, 19:55
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 219
Views: 52261

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: 387
Views: 154220

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 the pronb...
by enesbcs
19 Feb 2020, 17:49
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 219
Views: 52261

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: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 219
Views: 52261

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" can ...
by enesbcs
18 Feb 2020, 23:10
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 219
Views: 52261

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,valuenu...
by enesbcs
16 Feb 2020, 16:37
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 219
Views: 52261

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: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 219
Views: 52261

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: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 219
Views: 52261

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: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 219
Views: 52261

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 are now s...
by enesbcs
14 Feb 2020, 20:12
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 219
Views: 52261

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: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 219
Views: 52261

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 ESPEasy Publ...
by enesbcs
11 Feb 2020, 18:30
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 219
Views: 52261

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: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 219
Views: 52261

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 of error), ...
by enesbcs
10 Feb 2020, 17:47
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 219
Views: 52261

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: 387
Views: 154220

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: 387
Views: 154220

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: 387
Views: 154220

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: 387
Views: 154220

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 lot. For o...
by enesbcs
05 Feb 2020, 17:59
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 387
Views: 154220

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 plugin setti...
by enesbcs
03 Feb 2020, 20:15
Forum: ESP Easy: General Discussion
Topic: [Solved] Get temperature from domoticz to display it
Replies: 4
Views: 2656

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: 4
Views: 2656

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

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: 387
Views: 154220

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: 387
Views: 154220

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: 387
Views: 154220

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 HA nor Hassio. Command topic is...
by enesbcs
19 Jan 2020, 14:12
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 219
Views: 52261

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 device...
by enesbcs
05 Jan 2020, 23:27
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 219
Views: 52261

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 done with a...
by enesbcs
04 Jan 2020, 09:21
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 219
Views: 52261

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: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 219
Views: 52261

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: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 219
Views: 52261

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 interesting beast, all pin sta...
by enesbcs
02 Jan 2020, 20:23
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 219
Views: 52261

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: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 219
Views: 52261

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 topic ( %sys...
by enesbcs
29 Dec 2019, 16:43
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 219
Views: 52261

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: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 219
Views: 52261

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 the topic: '%sysname%/...
by enesbcs
26 Dec 2019, 15:26
Forum: ESP Easy: Hardware
Topic: ESP-WROOM-32
Replies: 3
Views: 3277

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

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...
by enesbcs
25 Dec 2019, 22:17
Forum: ESP Easy: Hardware
Topic: New ESP gadget
Replies: 324
Views: 169346

Re: New ESP gadget

ESP8285 based Sinilink WIFI-USB remote controller:
Image
by enesbcs
21 Dec 2019, 16:23
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 387
Views: 154220

Re: Serial MCU controlled relay/switch

What I missed in documentation and also could not read out in code (as I could not find defines of data types): for pulse and now longpulse what is the max value? I did not documented the limits as i do not know... But as pulse is blocking it is not a very good idea to pulse more than 1 minutes. Fo...
by enesbcs
21 Dec 2019, 09:24
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 387
Views: 154220

Re: Serial MCU controlled relay/switch

84392: HTTP: relaylongpulse,1,1,7200 84404: EVENT: WohnzimmerRelays#Relay0=0.00 84409: EVENT: WohnzimmerRelays#Relay1=1.00 84413: EVENT: WohnzimmerRelays#Relay2=0.00 84417: EVENT: WohnzimmerRelays#Relay3=0.00 84422: SerSW : SetSwitchPulse r1:1 Pulse for 7200 sec first try looks promising. will look...
by enesbcs
20 Dec 2019, 20:34
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 387
Views: 154220

Re: Serial MCU controlled relay/switch

Would there be a possibility to have this in a non-blocking counter? Yes, relaypulse is works exactly as the gpio pulse command, in this blocking nature. I've added a new command "relaylongpulse" which needs relay number, state and pulse time _in seconds_ as parameter. It may work. Or freeze your d...
by enesbcs
20 Dec 2019, 19:43
Forum: ESP Easy: Projects / Applications
Topic: Help on rules for relay timers
Replies: 6
Views: 5137

Re: Help on rules for relay timers

There is an explanation for the problem by enesbcs posted here: https://www.letscontrolit.com/forum/viewtopic.php?p=19650#p19650 It's right but that post refers to the Sonoff Dual (and also Tuya) submodul. By the way the LCTech does not provide feedback about the relay statuses, it is only written ...
by enesbcs
20 Dec 2019, 19:38
Forum: ESP Easy: Projects / Applications
Topic: Help on rules for relay timers
Replies: 6
Views: 5137

Re: Help on rules for relay timers

_Cyber_ wrote:
11 Nov 2019, 22:37
Did you try to use conditional checking for example:

Code: Select all

on WohnzimmerRelays#Relay1>0 do
...
endon
Instead of this?

Code: Select all

on WohnzimmerRelays#Relay1 do
...
endon
by enesbcs
20 Dec 2019, 19:26
Forum: ESP Easy: Hardware
Topic: ESP12e & PN532 - Bus Error
Replies: 2
Views: 2694

Re: ESP12e & PN532 - Bus Error

After some minutes i got a bus error - i installaed the latest espeasy version. Any idea how to solve it? I tried to google some things but no luck so far. The PN532 is connected vie L2C. I haven´t connected the RESET pin (because i couldn´t find how to do it.) The first PN532 i have ordered also s...
by enesbcs
12 Dec 2019, 22:18
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 387
Views: 154220

Re: Serial MCU controlled relay/switch

(therefore you would need a "PUYA" called image, I do not know if enesbcs has offered latest codebase compiled for PUYA ESPs). Latest firmware is based on core 2.5.2 which is natively supports Puya, so no patching is needed. However i do not consider 2.5.2 as a stable release. having a problem runn...
by enesbcs
24 Nov 2019, 08:55
Forum: ESP Easy: Software
Topic: ESP32Easy BLE
Replies: 4
Views: 3184

Re: ESP32Easy BLE

Mijia data request works with BLE notification callback, and when i tried to run it another core it did not ends well. :) Flora may work on second core as it works as simple ble connect-than-read.