Search found 514 matches

by enesbcs
01 Sep 2020, 22:58
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 440
Views: 206729

Re: Serial MCU controlled relay/switch

fresnoboy wrote: 01 Sep 2020, 22:41 It's a little hard to tell from the github repository which version will run on the the LC Tech relays...
Serial MCU plugin is now included in ESPEasy TESTING releases.
https://github.com/letscontrolit/ESPEasy/releases
by enesbcs
08 Aug 2020, 20:37
Forum: RPiEasy: Software
Topic: Run OS Command usage.
Replies: 4
Views: 512

Re: Run OS Command usage.

budman1758 wrote: 08 Aug 2020, 19:38 Thanks. Was using "taskvalueset,2,1" instead of "taskvalueset,2,1,1"
It also happens me sometimes. :)
I guess taskvalueset can be enhanced to work on first value, if only two parameters added, but i was lazy to implement it.
by enesbcs
08 Aug 2020, 17:36
Forum: RPiEasy: Software
Topic: Run OS Command usage.
Replies: 4
Views: 512

Re: Run OS Command usage.

It is designed to be as simple as possible. If the Run OS task has a value of 0 it will run the command at the Line 0, if the task has value 1 it will run command line in Line 1. To change a task value, the "taskvalueset" command is the standard way. Or in newer versions a Toggle button also impleme...
by enesbcs
06 Aug 2020, 19:17
Forum: RPiEasy: General Discussion
Topic: Changelog
Replies: 1
Views: 524

Re: Changelog

MCP3008 ADC is now supported through SPI from version 2.0.214
by enesbcs
26 Jul 2020, 21:47
Forum: RPiEasy: General Discussion
Topic: Changelog
Replies: 1
Views: 524

Changelog

From today's version P005_DHT plugin has a new option: Native Python driver can be selected instead of the default Adafruit_DHT lib. In the recent days a Raspbian update caused a new behaviour: RPI4 chipset reports itself as BCM2711. RPIEasy upgraded to support that, but many old software package wi...
by enesbcs
19 Jul 2020, 23:19
Forum: RPiEasy: Hardware
Topic: Rotary encoder
Replies: 12
Views: 917

Re: Rotary encoder

Can you tell me how you have it set up on your Pi Zero? Wired direct or what buffer circuit are you using? I did not do anything special, just wired directly clk, dt, + and gnd to RPI. Tested with a similar module: https://www.gmelectronic.com/data/product/1024_1024/pctdetail.775-029.1.jpg Swapping...
by enesbcs
18 Jul 2020, 17:37
Forum: RPiEasy: Hardware
Topic: Rotary encoder
Replies: 12
Views: 917

Re: Rotary encoder

If you turn the encoder very slow it will count up or down as it should "most" of the time but still misses steps or sometimes the count will go the opposite direction. If you turn the encoder rapidly it does not count the steps correctly at all. In the rotary plugin i've used event_detection with ...
by enesbcs
10 Jul 2020, 19:33
Forum: RPiEasy: Software
Topic: Upload to file system
Replies: 3
Views: 386

Re: Upload to file system

17:17:02 File upload started... 17:17:02 'datafile' 17:17:02 Exception while uploading 'datafile' maybe a file permission problem? No, i do not think so. I guess you are using Windows style CRLF line endings in text file, which is also used by integrated Perver web server to split file headers. Sta...
by enesbcs
10 Jul 2020, 17:13
Forum: ESP Easy: Software
Topic: Serial MCU controlled relay/switch
Replies: 440
Views: 206729

Re: Serial MCU controlled relay/switch

elsalior wrote: 10 Jul 2020, 12:14 i'struggling with a password for the AP mode which seem to be different for the bin image ESPEasy_Mega_P165_1M_128kS_lwip20_PUYA.bin
does anyone knows that password ?

Code: Select all

#define DEFAULT_AP_KEY      "configesp"
by enesbcs
09 Jun 2020, 18:13
Forum: RPiEasy: General Discussion
Topic: RPIEasy
Replies: 273
Views: 83637

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: 273
Views: 83637

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: 273
Views: 83637

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: 273
Views: 83637

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: 273
Views: 83637

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: 273
Views: 83637

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: 273
Views: 83637

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: 273
Views: 83637

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: 273
Views: 83637

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

Re: New ESP gadget

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

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: 273
Views: 83637

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: 273
Views: 83637

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: 273
Views: 83637

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: 273
Views: 83637

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

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: 273
Views: 83637

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: 273
Views: 83637

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: 273
Views: 83637

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: 273
Views: 83637

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: 273
Views: 83637

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: 273
Views: 83637

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: 273
Views: 83637

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: 273
Views: 83637

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: 273
Views: 83637

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: 440
Views: 206729

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: 273
Views: 83637

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: 273
Views: 83637

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: 273
Views: 83637

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: 273
Views: 83637

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: 273
Views: 83637

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: 440
Views: 206729

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: 273
Views: 83637

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: 440
Views: 206729

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: 273
Views: 83637

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: 273
Views: 83637

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: 273
Views: 83637

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: 273
Views: 83637

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: 273
Views: 83637

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: 273
Views: 83637

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: 273
Views: 83637

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