Search found 18 matches

by 1CM69
11 Apr 2019, 02:44
Forum: ESP Easy: Software
Topic: Access Device Info via Raspberry Pi
Replies: 20
Views: 400

Re: Access Device Info via Raspberry Pi

I have just tried the Python code that Thomas posted & it is extremely easy to use and manipulate to my needs. Where I was getting stuck was the index value for each of the various Sensors, TaskName, TaskNumber etc... I thought that it was their postition in the JSON file but I couldn't make head no...
by 1CM69
11 Apr 2019, 00:42
Forum: ESP Easy: Software
Topic: Access Device Info via Raspberry Pi
Replies: 20
Views: 400

Re: Access Device Info via Raspberry Pi

it continually shows the blank 4th value name, see attached pics. That is normal, you can't hide unused System Info plugin values. I don't know why it was implemented that way, but the workaround is to ignore the unused values. If it helps, name it "Unused" as a reminder to ignore it. - Thomas OK, ...
by 1CM69
11 Apr 2019, 00:25
Forum: ESP Easy: Software
Topic: Access Device Info via Raspberry Pi
Replies: 20
Views: 400

Re: Access Device Info via Raspberry Pi

I am using mega-20190315 & have just tried again deleting and then remaking the device but it continually shows the blank 4th value name, see attached pics.
Untitled3.png
Untitled3.png (29.87 KiB) Viewed 286 times
Untitled2.png
Untitled2.png (32.04 KiB) Viewed 286 times
Odd, it's showing a colon & a zero value entry like it expecting something.

Regards..,
by 1CM69
10 Apr 2019, 22:23
Forum: ESP Easy: Software
Topic: Access Device Info via Raspberry Pi
Replies: 20
Views: 400

Re: Access Device Info via Raspberry Pi

I think that I may have been over complicating things & have thought of a far more simpler approach. It's a shame to ignore the power measurement features in your Sonoff. So rather than give up on JSON, maybe we can walk you through it. Your RPI will do all the heavy lifting; You just have to add s...
by 1CM69
10 Apr 2019, 13:26
Forum: ESP Easy: Software
Topic: Access Device Info via Raspberry Pi
Replies: 20
Views: 400

Re: Access Device Info via Raspberry Pi

I think that I may have been over complicating things & have thought of a far more simpler approach. As my Raspberry Pi only sends out a command to each of my switches when certain criteria have already been met, I can simply add a counter to the end of each 'switch on' command inside my Python scri...
by 1CM69
10 Apr 2019, 13:18
Forum: ESP Easy: Software
Topic: Access Device Info via Raspberry Pi
Replies: 20
Views: 400

Re: Access Device Info via Raspberry Pi

grovkillen wrote:
10 Apr 2019, 10:56
I love using JavaScript but in your case maybe cURL?

https://www.weichieprojects.com/blog/cu ... -with-php/
Thank you, that's very helpful
by 1CM69
10 Apr 2019, 13:17
Forum: ESP Easy: Software
Topic: Access Device Info via Raspberry Pi
Replies: 20
Views: 400

Re: Access Device Info via Raspberry Pi

Wiki wrote:
10 Apr 2019, 10:23
Now you know, what I was talking about :mrgreen:
:D
by 1CM69
10 Apr 2019, 01:11
Forum: ESP Easy: Software
Topic: Access Device Info via Raspberry Pi
Replies: 20
Views: 400

Re: Access Device Info via Raspberry Pi

Hi, so I was just attempting to get some info from my Sonoff unit via JSON & failed miserably. Here is my JSON output: { "System": { "Build": 20103, "Git Build": "mega-20190315", "System Libraries": "ESP82xx Core 2_4_2, NONOS SDK 2.2.1(cfd48f3), LWIP: 2.0.3 PUYA support", "Plugins": 46, "Plugin desc...
by 1CM69
09 Apr 2019, 18:36
Forum: ESP Easy: Software
Topic: Access Device Info via Raspberry Pi
Replies: 20
Views: 400

Re: Access Device Info via Raspberry Pi

grovkillen wrote:
09 Apr 2019, 18:32
JSON is great, especially if you're using JavaScript. But whatever get you where you want to go is good.
yep ;)
by 1CM69
09 Apr 2019, 18:29
Forum: ESP Easy: Software
Topic: Access Device Info via Raspberry Pi
Replies: 20
Views: 400

Re: Access Device Info via Raspberry Pi

To simply store the data on my Raspi I have chosen to write a small php script (Apache server is installed) and placed it under /var/www/html/Data.php. Example: <?php isset($_GET['value1']) ? $value1=$_GET['value1'] : $value1=''; isset($_GET['value2']) ? $value2=$_GET['value2'] : $value2=''; $jetzt...
by 1CM69
09 Apr 2019, 15:29
Forum: ESP Easy: Software
Topic: Access Device Info via Raspberry Pi
Replies: 20
Views: 400

Re: Access Device Info via Raspberry Pi

grovkillen wrote:
09 Apr 2019, 15:12
You should fetch the JSON page and grab the values there and then store them however you want.
Perfect, thank you.
by 1CM69
09 Apr 2019, 13:48
Forum: ESP Easy: Software
Topic: Access Device Info via Raspberry Pi
Replies: 20
Views: 400

Access Device Info via Raspberry Pi

Hi, I have two Sonoff POW R2 switches, both are flashed with ESPeasy Mega 20190315 and working perfectly as expected. They are both controlled via a script which is run on my Raspberry Pi which only switches them on if the temperature falls below a set level received via a BME280 attached to my Rasp...
by 1CM69
09 Apr 2019, 13:29
Forum: ESP Easy: Software
Topic: ESPEasy WiFi reconnect Rules
Replies: 4
Views: 261

Re: ESPEasy WiFi reconnect Rules

Friends, After a recent router failure i experienced that ESPEasy would not reconnect to WiFi on its own. A device reboot was required. All my devices run a stable version of ESPEasy Mega-...... I could not find a script to monitor WiFi without use of plugins not available in the basic stable versi...
by 1CM69
04 Apr 2019, 15:34
Forum: ESP Easy: Hardware
Topic: SonOff POW R2 support
Replies: 82
Views: 23801

Re: SonOff POW R2 support

Hi all, I have just successfully flashed my 1st Sonoff POW R2 with EasyESP but seem to be stuck at one step. On my iPhone I have selected the ESP_0 WiFi network & entered configesp as the password, opened up a browser page on my iPhone & have been confronted by the Log In ESP_0 screen. So, I can se...
by 1CM69
03 Apr 2019, 20:50
Forum: ESP Easy: Hardware
Topic: SonOff POW R2 support
Replies: 82
Views: 23801

Re: SonOff POW R2 support

Hi all, I have just successfully flashed my 1st Sonoff POW R2 with EasyESP but seem to be stuck at one step. On my iPhone I have selected the ESP_0 WiFi network & entered configesp as the password, opened up a browser page on my iPhone & have been confronted by the Log In ESP_0 screen. So, I can se...
by 1CM69
03 Apr 2019, 18:57
Forum: ESP Easy: Hardware
Topic: SonOff POW R2 support
Replies: 82
Views: 23801

Re: SonOff POW R2 support

Hi all, I have just successfully flashed my 1st Sonoff POW R2 with EasyESP but seem to be stuck at one step. On my iPhone I have selected the ESP_0 WiFi network & entered configesp as the password, opened up a browser page on my iPhone & have been confronted by the Log In ESP_0 screen. So, I can se...
by 1CM69
03 Apr 2019, 12:31
Forum: ESP Easy: Hardware
Topic: SonOff POW R2 support
Replies: 82
Views: 23801

Re: SonOff POW R2 support

Hi all, I have just successfully flashed my 1st Sonoff POW R2 with EasyESP but seem to be stuck at one step. On my iPhone I have selected the ESP_0 WiFi network & entered configesp as the password, opened up a browser page on my iPhone & have been confronted by the Log In ESP_0 screen. So, I can see...
by 1CM69
20 Mar 2019, 19:38
Forum: Introduce yourself
Topic: Hi from SW UK
Replies: 0
Views: 61

Hi from SW UK

Hi everyone, I found this fantastic site after searching for a way to automate my electric heating via WiFi enabled switches (Sonoff POW R2) controlled by temperature readings collected with my Rasp Pi weather station. What a great resource this site is and as soon as my switches arrive I dare say t...