Search found 505 matches

by enesbcs
09 Jun 2020, 18:13
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 274
Views: 74375

Re: RPIEasy

BertrandP wrote:
09 Jun 2020, 09:59
root@RPi0Jardin:/home/pi# python nettest.py
socket opened
socket bind 0.0.0.0:8080
socket closed
It looks fine. I've changed bind in RPIEasy 2.0.161 according to it.
by enesbcs
08 Jun 2020, 23:05
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 274
Views: 74375

Re: RPIEasy

22:16:27: !Webserver can not be started, no available port found! [Errno -2] Name or service not known[Errno -2] Name or service not known[Errno -2] Name or service not known[Errno -2] Name or service not known It is very interesting "name or service not known" error may refer to DNS resolving erro...
by enesbcs
08 Jun 2020, 22:28
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 274
Views: 74375

Re: RPIEasy

FYI: Since RPiEasy is such a rapidly growing project (just wow, considering what you managed in such a short time), we thought it would be good to have a separate sub-forum for it. So I just created it. Please let me know if I messed up the permissions or something else. @enesbcs Keep up the good w...
by enesbcs
08 Jun 2020, 18:28
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 274
Views: 74375

Re: RPIEasy

There is nothing else on the RPI0. it's a proper install from 2020-02-13-raspbian-buster-lite.img I've also tried this Buster edition with an RPI4 and worked well. this is the result for netstat : netstat looks fine, nothing using port 8080 Could you try the latest RPIEasy which updated yesterday f...
by enesbcs
07 Jun 2020, 18:45
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 274
Views: 74375

Re: RPIEasy

root@RPi0Jardin:/home/pi# python nettest.py Traceback (most recent call last): File "nettest.py", line 3, in <module> servers.bind((socket.gethostname(), 8080)) socket.gaierror: [Errno -2] Name or service not known This nettest.py is not relevant anymore. The latest RPIEasy.py are using gethostname...
by enesbcs
05 Jun 2020, 17:41
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 274
Views: 74375

Re: RPIEasy

Yes I can acces to internet, update and upgrate the Pi. Yes the DNS is in my box (french Freebox revolution). I try to delet the forlder and update today from github, but it's the same. Sorry, i think i've found the error, you are using an incompatible old python version: "/usr/lib/python2.7/socket...
by enesbcs
28 May 2020, 09:35
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 274
Views: 74375

Re: RPIEasy

Is there a more gracefull way of telling RPIEasy to restart rather than using the system reboot? Yes, for example something like that will work (from a bash script), if you are using the default startup run.sh to autostart RPIEasy: curl http://localhost/?cmd=exit If you are using run.sh and killing...
by enesbcs
23 May 2020, 20:40
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 274
Views: 74375

Re: RPIEasy

socket.gaierror: [Errno -2] Name or service not known You are somehow using a system that is unable to resolve its own name. I've never seen similar before. https://github.com/pahaz/sshtunnel/issues/56 https://github.com/alessandromaggio/pythonping/issues/28 Can you use internet on this machine? Is...
by enesbcs
22 May 2020, 07:07
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 274
Views: 74375

Re: RPIEasy

How install RPI.GPIO ans I2C ? Do I need to install apach or another things ? Every dependency can be installed from inside the RPIEasy plugins&dependencies page. Webserver is provided by the minimal Perver python web server, using only base python libraries. (threading, asyncio, urllib) 17:40:28: ...
by enesbcs
18 May 2020, 08:24
Forum: ESP Easy: Hardware
Topic: New ESP gadget
Replies: 326
Views: 183101

Re: New ESP gadget

by enesbcs
12 May 2020, 17:04
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 274
Views: 74375

Re: RPIEasy

Is there a way to see the RSSI once a device is declared? Or can it only be seen on the hardware tab during the initial scan? I'd like to figure out, if the new location is an overall better place than the original position. There are a BLE scan device which can scan for online BLE devices - with R...
by enesbcs
11 May 2020, 23:20
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 274
Views: 74375

Re: RPIEasy

Thanks for the reply. Actually I tried to set the intervals to 300, 301, 302, ... 305 seconds, but the logs were created with no intervals set. I'll give the new version a try tonight. 1 second between BLE devices is not a good choice, as they sometimes needs 1-5 seconds to connect. Leave 5-10 seco...
by enesbcs
11 May 2020, 18:09
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 274
Views: 74375

Re: RPIEasy

Try to upgrade to neweset RPIEasy. A new option "Connect only if BLE local device free" is available, check for all LYWSD03 devices.
by enesbcs
10 May 2020, 20:46
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 274
Views: 74375

Re: RPIEasy

After a fresh boot of the pi RPIEasy finds most of the devices, receives data and transmits them to FHEM. After some time FHEM reports that the sensors are absent, not sending data anymore. This can happen after a couple of minutes or after a couple of days - I couldn't find a scheme yet. Neither I...
by enesbcs
05 May 2020, 22:14
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 274
Views: 74375

Re: RPIEasy

Just a quick note: from today FTDI USB GPIO&I2C extender is working with RPIEasy. I've never thought before, that i can use an I2C OLED display with my Ubuntu x86 PC directly. :) Still no idea what can i use in a real-world scenario, but it is a possibility now. https://ko-fi.com/rpieasy/gallery#gal...
by enesbcs
29 Apr 2020, 20:01
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy as access point
Replies: 4
Views: 1888

Re: ESPEasy as access point

I want to install a micro IoT in my caravan to collect the data from battery status, water level, gas level, temperatures, power consumption, gps, vehicle levelling a.s.o. Is it possible to use one of the devices as an access point and - if yes - how many devices could connect simultaniously to tha...
by enesbcs
18 Apr 2020, 15:33
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 274
Views: 74375

Re: RPIEasy

Remember that the original UPD messaging (now called P2P) was designed for standalone use for a limited (<10) number of nodes. So you could save money on not having to buy an RPI with a controller. Its origin even goes back to the Nodo project with a wiznet 5100 controller where Arduino Mega's were...
by enesbcs
17 Apr 2020, 19:03
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 274
Views: 74375

Re: RPIEasy

I don't think IANA does want to assign more UDP ports for our protocol just because it does not scale. IANA has no business in my home network. :) But yes, you are right it can be better. Maybe something like the KNX protocol? As i saw it has group properties to its nodes. But KNX is a server based...
by enesbcs
16 Apr 2020, 22:27
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 274
Views: 74375

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 station, th...
by enesbcs
16 Apr 2020, 19:02
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 274
Views: 74375

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: 274
Views: 74375

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: 274
Views: 74375

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: 274
Views: 74375

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: 274
Views: 74375

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: 274
Views: 74375

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: 390
Views: 189202

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: 274
Views: 74375

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: 274
Views: 74375

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

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

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

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: 390
Views: 189202

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

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: 390
Views: 189202

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

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: 274
Views: 74375

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

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

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: 274
Views: 74375

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: 274
Views: 74375

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: 274
Views: 74375

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

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: 274
Views: 74375

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

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: 274
Views: 74375

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

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: 390
Views: 189202

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: 390
Views: 189202

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: 390
Views: 189202

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: 390
Views: 189202

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