Search found 73 matches

by asuz
16 May 2020, 21:05
Forum: ESP Easy: General Discussion
Topic: send shutdown command for raspberry
Replies: 2
Views: 242

Re: send shutdown command for raspberry

If you mean you don't want to add a wired connected to the RPi (GPIO shutdown), then that leaves you with a SendToHTTP rule. I Found this discussion that explains how to enable it on the RPi: https://www.raspberrypi.org/forums/viewtopic.php?t=58802 - Thomas Thanks for that interesting solution. I w...
by asuz
16 May 2020, 19:07
Forum: ESP Easy: General Discussion
Topic: send shutdown command for raspberry
Replies: 2
Views: 242

send shutdown command for raspberry

Hi to all,
Is there any way to send shutdown command to raspberry with espeasy?
by asuz
16 May 2020, 19:01
Forum: ESP Easy: General Discussion
Topic: USB KVM Switch modify project
Replies: 10
Views: 929

Re: USB KVM Switch modify project

Thanks for that magnificent idea, I will built a circuit soon and type the result here.
by asuz
07 May 2020, 20:50
Forum: ESP Easy: General Discussion
Topic: USB KVM Switch modify project
Replies: 10
Views: 929

Re: USB KVM Switch modify project

Nope, as you can see, you connected the GPIO-5 to the 3v3 line. If you connect the GPIO pin to the other side of the resistor then it is fine. Just like this: 3V3 ---^^^^----GPIO----transistor---GND And check to see if you take the correct GPIO pin for this. Better not take GPIO-0, GPIO-2 or GPIO-1...
by asuz
07 May 2020, 15:09
Forum: ESP Easy: General Discussion
Topic: USB KVM Switch modify project
Replies: 10
Views: 929

Re: USB KVM Switch modify project

You could add an optocoupler parallel to the existing LEDs (or replace them but then you don't have any visual feedback yourself) The output of the optocoupler is a transistor, so you only need a pull-up resistor and then can connect one of the legs of the optocoupler to a GPIO pin and the other to...
by asuz
06 May 2020, 22:48
Forum: ESP Easy: General Discussion
Topic: USB KVM Switch modify project
Replies: 10
Views: 929

Re: USB KVM Switch modify project

grovkillen wrote:
06 May 2020, 21:03
We start with:

What voltage do you get when measuring between the two pins/legs of a lit LED?
First led 1.34 V and the others are 2.42 V
by asuz
06 May 2020, 20:17
Forum: ESP Easy: General Discussion
Topic: USB KVM Switch modify project
Replies: 10
Views: 929

Re: USB KVM Switch modify project

grovkillen wrote:
06 May 2020, 04:23
Measure the voltage over the LED. You may need to have a voltage divider if the voltage is to high. Then use GPIO monitor to get which one is currently on.
Can you give me a bit more detail please?
by asuz
05 May 2020, 23:55
Forum: ESP Easy: General Discussion
Topic: USB KVM Switch modify project
Replies: 10
Views: 929

USB KVM Switch modify project

1.jpeg Hi to all, Recently I bought a USB KVM switch. That switch share my mouse and keyboard to the 4 PC. So I can use same keyboard and mouse with my windows pc, linux box, smart tv, etc. You can see the circuit at the picture-3, KVM has only one selector button to choose PC's. KVM working princi...
by asuz
03 May 2020, 16:50
Forum: ESP Easy: General Discussion
Topic: servo rules
Replies: 15
Views: 1038

Re: servo rules

Well, that's not a biggie, I can fix that :o I've used a Dummy device so I could monitor it in the Devices page, but we can also use a uservar (let,1,x and [Var#1], there are 16 available) as I've done below: Perfect,Greatttttttt, it is my ( actually your :) )automatic feeding project for my fish i...
by asuz
03 May 2020, 16:03
Forum: ESP Easy: General Discussion
Topic: servo rules
Replies: 15
Views: 1038

Re: servo rules

That WD log line is just the WatchDog that logs some of the current status in INFO log mode, nothing to worry about. Is your servo now moving as expected? If not, lets try some manual commands: (you'd find that on the Tools page, don't copy the quotes I used) entering the command "servo,1,4,180" sh...
by asuz
03 May 2020, 15:00
Forum: ESP Easy: General Discussion
Topic: servo rules
Replies: 15
Views: 1038

Re: servo rules

That WD log line is just the WatchDog that logs some of the current status in INFO log mode, nothing to worry about. Is your servo now moving as expected? If not, lets try some manual commands: (you'd find that on the Tools page, don't copy the quotes I used) entering the command "servo,1,4,180" sh...
by asuz
03 May 2020, 14:33
Forum: ESP Easy: General Discussion
Topic: servo rules
Replies: 15
Views: 1038

Re: servo rules

Hmm, this is getting a bit weird. A few questions: What type of servo are you using, because the code I shared is actually tested on a MG995R, that can move from 0 to ~180 degrees. What version of ESPEasy are you running? It should best be a 2020 made release (20200410 seems very stable atm), thoug...
by asuz
03 May 2020, 13:19
Forum: ESP Easy: General Discussion
Topic: servo rules
Replies: 15
Views: 1038

Re: servo rules

Ath wrote:
03 May 2020, 10:08
In the 'on ServoDone do' event the value has to be 9000 to turn off the servo, not 360. That 360 will bring the servo as close to 360 as it can, being 180...

Code: Select all

on ServoDone do
  servo,1,4,9000 // Turn it back off
endon
Not works only servo stay at the beginning point:(
by asuz
02 May 2020, 22:48
Forum: ESP Easy: General Discussion
Topic: servo rules
Replies: 15
Views: 1038

Re: servo rules

What I was trying to say was: I didn't test that code :D The servo command is a bit tricky, it seems, you need to give the servo command some time to move the actual servo, I ended up with this: Thanks for your reply; I test and modify the second script and result is servo goes to 180 degree and co...
by asuz
01 May 2020, 14:04
Forum: ESP Easy: General Discussion
Topic: servo rules
Replies: 15
Views: 1038

Re: servo rules

Ath wrote:
01 May 2020, 13:04
asuz wrote:
01 May 2020, 12:05
I cannot make a rule is there any help?
Do you mean you have Rules still disabled (default setting on a cleanly installed device) in Advanced config, or you don't know how to write rules?
Rules section is enabled, I mean that how to script the my scenario.
by asuz
01 May 2020, 12:05
Forum: ESP Easy: General Discussion
Topic: servo rules
Replies: 15
Views: 1038

servo rules

Hi to all,
How can I move a servo motor 0 to 180 degree - 180 degree to 0 degree three times at a certain time(by schedule)? I cannot script by myself is there any help?
by asuz
01 May 2020, 11:52
Forum: ESP Easy: General Discussion
Topic: add SG90 servo
Replies: 2
Views: 837

Re: add SG90 servo

grovkillen wrote:
22 Apr 2020, 18:37
You can control the servo using the servo commands: https://espeasy.readthedocs.io/en/lates ... motor-page
I've got it thanks :)
by asuz
22 Apr 2020, 16:09
Forum: ESP Easy: General Discussion
Topic: add SG90 servo
Replies: 2
Views: 837

add SG90 servo

Hi to all, how can I add a SG90 http://www.ee.ic.ac.uk/pcheung/teaching/DE1_EE/stores/sg90_datasheet.pdf servo to the espeasy? Is there a special release for the servos? May I connect it directly? Which device should I choose for control it? Can anybody help me, I cannot find any tutorial about it a...
by asuz
16 Jul 2019, 15:25
Forum: ESP Easy: General Discussion
Topic: Power Outage detector
Replies: 2
Views: 6081

Power Outage detector

How can I monitor presence of the electricity at my wall socket? There is no need to monitoring voltage or current just presence of the electricity ? I already have ups or backup energy for if need sensing and reporting devices like internet connection. Should I use a relay or contactor that always ...
by asuz
16 Jul 2019, 15:03
Forum: ESP Easy: General Discussion
Topic: Energy Meter HLW8012 Breakout Board voltage issue
Replies: 8
Views: 2014

Re: Energy Meter HLW8012 Breakout Board voltage issue

I haven't calibrate yet but I think it will not a solution because values are very diffret to calibrate see board show that 5 V voltage but actually it must be around 220 V You need to calibrate the thing before ANYTHING else! Do this first before wasting time chasing your tail :-) Thanks for your ...
by asuz
23 Apr 2019, 14:19
Forum: ESP Easy: General Discussion
Topic: Energy Meter HLW8012 Breakout Board voltage issue
Replies: 8
Views: 2014

Re: Energy Meter HLW8012 Breakout Board voltage issue

Hi, 1. Does ESPeasy read current and power correctly? 2. Do you need to set up the GPIO pins as input/output under the "Hardware" tab in the GUI? 3. Also try setting "pre defind pin settings" in the device to "SonOff POW (R1)" 4. Calibration? https://espeasy.readthedocs.io/en/latest/Plugin/P076.htm...
by asuz
22 Apr 2019, 17:17
Forum: ESP Easy: General Discussion
Topic: Energy Meter HLW8012 Breakout Board voltage issue
Replies: 8
Views: 2014

Re: Energy Meter HLW8012 Breakout Board voltage issue

Hi, 1. Does ESPeasy read current and power correctly? 2. Do you need to set up the GPIO pins as input/output under the "Hardware" tab in the GUI? 3. Also try setting "pre defind pin settings" in the device to "SonOff POW (R1)" 4. Calibration? https://espeasy.readthedocs.io/en/latest/Plugin/P076.htm...
by asuz
18 Apr 2019, 16:42
Forum: ESP Easy: General Discussion
Topic: Energy Meter HLW8012 Breakout Board voltage issue
Replies: 8
Views: 2014

Energy Meter HLW8012 Breakout Board voltage issue

Hi to all, Recently I bought HLW8012 Breakout Board for using 8266 (mega-20190416). As I attach picture Voltage show only 2v value. The board connected to the city ​​electricity so it must be show at least 220 v. Is there any idea about that issue. Here is the settings and board. https://www.aliexpr...
by asuz
04 Apr 2019, 16:00
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 259
Views: 68346

Re: RPIEasy

Nice project! I've never used the "Display button" setting before... is it simply switching on and off the display? :) Yes, right Display button added to P012 plugin at commit https://github.com/enesbcs/rpieasy/commit/0633bea66ba7644781a603311bd2b33d4e066129 Thank you very much again for that effor...
by asuz
02 Apr 2019, 14:55
Forum: ESP Easy: Software
Topic: Nextion HMI - Domoticz on Raspberry
Replies: 3
Views: 3394

Re: Nextion HMI - Domoticz on Raspberry

vorsselmansP wrote:
04 Mar 2017, 12:21
Code on github has been updated
Need some help about similar project with serial interface. Can you help me about it?
by asuz
30 Mar 2019, 00:14
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 259
Views: 68346

Re: RPIEasy

Hello enesbcs, Is it possible to add Display button: as esp firmware has? It really fits my project, please see isn't it? After add 10 piece 18b20, my central heating automation will be OK. Nice project! I've never used the "Display button" setting before... is it simply switching on and off the di...
by asuz
29 Mar 2019, 20:05
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 259
Views: 68346

Re: RPIEasy

Hello enesbcs,
Is it possible to add Display button: as esp firmware has? It really fits my project, please see isn't it? After add 10 piece 18b20, my central heating automation will be OK.
by asuz
25 Mar 2019, 22:40
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 259
Views: 68346

Re: RPIEasy

The only reason can be that you are not using the Output helper plugin. Please delete the device you named "relay" and recreate it with "P029 - Output - Output helper" and you have to see something similar that i attached just now. <5>RPIEasy RPIEasy: Event: isi#Temperature=23.0 192.168.4.57 26/03 ...
by asuz
25 Mar 2019, 19:51
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 259
Views: 68346

Re: RPIEasy

Sorry i do not use Windows. I am using Ubuntu Linux with real ssh client, and it's screen remains readable after disconnect. You can try to install a syslog server to your windows and enable syslog logging in rpieasy, this way the logs can be saved. Hello enesbcs, I install fresh raspian and also R...
by asuz
22 Mar 2019, 16:24
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 259
Views: 68346

Re: RPIEasy

How can you paste the logs here, my logs are disappear after reboot. Issue still continue from my side. Sorry about that, I know you do too much efford to me and my topic :( I do not see anything like "State preserving is enabled" at logs If you do not see "State preserving is enabled" at logs, tha...
by asuz
21 Mar 2019, 12:03
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 259
Views: 68346

Re: RPIEasy

20:14:20: Pi Zero W 40 pins 20:14:20: State preserving is enabled 20:14:20: Event: System#Boot 20:14:20: Webserver starting at port 80 20:14:20: Event: Clock#Time=Wed,20:14 20:14:37: CMD: gpio,17,1 20:14:37: BCM17 set to 1 20:14:37: Event: 17#State=1 20:14:44: CMD: reboot 20:14:44: Event: System#Sh...
by asuz
20 Mar 2019, 19:33
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 259
Views: 68346

Re: RPIEasy

so shoulnot GPIO 17 remember last state when its at only Output function? I have'nt got any project that can benefit from remembering last state, but if you need it, i can add a filter to remember pin state only if type is pure Output. If it is possible I will thankful to you. Sometimes the system ...
by asuz
20 Mar 2019, 14:01
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 259
Views: 68346

Re: RPIEasy

Thanks for that suggestion, it works with non-zero values. Actually I donot touch that area beause it says "Optional for this Device". Maybe that helps somebody after me. Yes it is optional as you can write to the OLED with the OLED command from Rules, if you do not want to use automatic refresh fe...
by asuz
19 Mar 2019, 10:24
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 259
Views: 68346

Re: RPIEasy

Sorry about it but here is the pages for your reference, there is nothing at my OLED. Am I missing something? Please can you check? Try to set interval to 5 sec or any non-zero value... this way it's content written in the setted interval. Thanks for that suggestion, it works with non-zero values. ...
by asuz
18 Mar 2019, 23:02
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 259
Views: 68346

Re: RPIEasy

Thank for responce, my Pinout&Ports page is similar to yours but how can I sure about my root permissions? It's pretty simple. on hardware page, there are a red warning if you are not root, and at Pinout&Ports there are no submit button if you have no root rights. How about I2C scanning? Sorry abou...
by asuz
18 Mar 2019, 21:38
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 259
Views: 68346

Re: RPIEasy

enesbcs wrote:
18 Mar 2019, 19:55
I am attaching some pictures which you have to see before even thinking to enable any I2C related plugin.

Thank for responce, my Pinout&Ports page is similar to yours but how can I sure about my root permissions?
by asuz
18 Mar 2019, 13:32
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 259
Views: 68346

Re: RPIEasy

You mean that RPIEasy already include P029 Output helper plugin for remember last state of GPIO? If yes mine always forget last state :(. (RPIEasy 0.19.075). Please try latest commit. After i set specific GPIO to high, i've done a reboot, and i get this: 22:51:48: Pi Zero W 40 pins 22:51:49: Event:...
by asuz
16 Mar 2019, 11:57
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 259
Views: 68346

Re: RPIEasy

Is there any option that RPIEasy remember last state of GPIO after reboot? Raspberry has 3 option for output pin state at boot-time: 1/Output (in real world this is also changes to Low at boot) 2/Output-Lo 3/Output-Hi I've added "Preserve state at startup" option to P029 Output helper plugin. It re...
by asuz
15 Mar 2019, 19:50
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 259
Views: 68346

Re: RPIEasy

Is there any option that RPIEasy remember last state of GPIO after reboot?
by asuz
15 Mar 2019, 19:43
Forum: ESP Easy: General Discussion
Topic: Display GPIO state with text
Replies: 9
Views: 1441

Re: Display GPIO state with text

grovkillen wrote:
14 Mar 2019, 21:07
Ok, then you need to do some if statements and LCD commands.
OK, thank you, i will try
by asuz
14 Mar 2019, 19:21
Forum: ESP Easy: General Discussion
Topic: Display GPIO state with text
Replies: 9
Views: 1441

Re: Display GPIO state with text

grovkillen wrote:
14 Mar 2019, 16:55
No it's not. Unless you use if states etc. But what do you want to do exactly?
I need to display translation of ON and OFF in my language for one of my project. Sometimes people who doesnot know English are confuse ON and OFF meaning.
by asuz
14 Mar 2019, 16:41
Forum: ESP Easy: General Discussion
Topic: Display GPIO state with text
Replies: 9
Views: 1441

Re: Display GPIO state with text

grovkillen wrote:
14 Mar 2019, 05:49
You mean custom names? The list of transformations aren't covering your need?
Isn't it possible with rules?
by asuz
13 Mar 2019, 22:38
Forum: ESP Easy: General Discussion
Topic: Display GPIO state with text
Replies: 9
Views: 1441

Re: Display GPIO state with text

From my notes: Format Transformation: Feature to transform Values from numeric to strings or to format numeric values. Syntax: [task#value#transformation#justification] ................ Wonderful property, thank you very much for your guidance. Just wonder one more think about that transformation, ...
by asuz
13 Mar 2019, 19:43
Forum: ESP Easy: General Discussion
Topic: Display GPIO state with text
Replies: 9
Views: 1441

Display GPIO state with text

How can I display GPIO state with text instead of number at LCD Screen. For example, if GPIO 12 state is 1 LCD Screen display ON, if GPIO 12 state is 0 LCD Screen display OFF.
by asuz
27 Feb 2019, 13:29
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 259
Views: 68346

Re: RPIEasy

systemctl status rc-local.service has to write something like "Active: active (exited)", if not, please copy that here. Thanks for all suggestions. I decided to migrate dietpi to raspbian-stretch. I test with raspbian-stretch and see that there is no issue about booting autostart of rpieasy. At the...
by asuz
26 Feb 2019, 14:27
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 259
Views: 68346

Re: RPIEasy

enesbcs wrote:
25 Feb 2019, 17:15
Please try to print your /etc/rc.local content with this console command after setting it in RPIEasy and after rebooting the RPI.

Code: Select all

cat /etc/rc.local
root@DietPi:~# cat /etc/rc.local
#!/bin/sh -e
/usr/bin/screen -d -m /root/rpieasy/run.sh
exit 0
root@DietPi:~#
by asuz
25 Feb 2019, 11:15
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 259
Views: 68346

Re: RPIEasy

Hello All, After a fresh install to a RPI Zero W with Dietpi, it cannot autostart at boot. I already click autostart at boot option on hardware tab but it didnot work. What do you suggest me?
by asuz
09 Jan 2019, 22:35
Forum: ESP Easy: Projects / Applications
Topic: ESP8266 Thermostat
Replies: 20
Views: 15178

Re: ESP8266 Thermostat

Thanks for that project, i will built your project soon :)
by asuz
09 Jan 2019, 19:32
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 259
Views: 68346

Re: RPIEasy

I am going to built your project that you mention over there https://bitekmindenhol.blog.hu/2018/10/14/termosztat_esp866-al . Am I right is that yours? Yes this is my creation and currently is my only thermostat at home. It needs an ESPEasy firmware with a special plugin to use, can be downloaded h...
by asuz
09 Jan 2019, 19:03
Forum: ESP Easy: General Discussion
Topic: RPIEasy
Replies: 259
Views: 68346

Re: RPIEasy

Hello again, I wonder how many 18b20 can be work without problem with pi zero that runs esp firmware without issue? As i see it is maximized in 10-64 pieces in w1-gpio kernel driver. It is a software limit. (Just checked mine, it writes 64) You can check it by issuing the following command to the l...