Checking a virtual dummy text field in Blocky

Moderator: leecollings

Post Reply
Cloud
Posts: 4
Joined: Monday 26 December 2016 14:48
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Checking a virtual dummy text field in Blocky

Post by Cloud »

Havent found anything about this :oops: . I try to check a virtual dummy text field for a specified value and cant get it too work.
1.PNG
1.PNG (52.06 KiB) Viewed 2090 times
Anyone can help me here?

Thanks in Advance!
Lebo2d9
Posts: 139
Joined: Tuesday 06 September 2016 20:39
Target OS: Raspberry Pi / ODroid
Domoticz version: L stab
Location: Belgium
Contact:

Re: Checking a virtual dummy text field in Blocky

Post by Lebo2d9 »

I do this with a user variable

Image
Domoicz on RPI3 (wifi) directly connected 3x ds18b20 for CV temp, Evohome (9 zone), 1 remote 220V switch based on ESP-12. RFXtrx433E, 16x AMST-606, 5 Somfy RTS motors
Domoticz on RPI3(wifi) as slave for terraruim control
More to come
Nautilus
Posts: 722
Joined: Friday 02 October 2015 12:12
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Finland
Contact:

Re: Checking a virtual dummy text field in Blocky

Post by Nautilus »

Cloud wrote:Havent found anything about this :oops: . I try to check a virtual dummy text field for a specified value and cant get it too work.

1.PNG

Anyone can help me here?

Thanks in Advance!
Sorry for the off-topic. I've tried to make a reliable "presence" check for my robot mower for a few times now. First with z-wave magnet sensor, but the issue was range (ok, could do something about that but the price/effort in current situation would be a bit high) and then with a microswitch attached to Nexa WBT-912 which has enough range, but the return mechanism in the microswitch is so strong / switch is so sensitive that the switch "opens" by itself soon after the mower has docked. So the question, what is your weapon of choice and how have you been able to make it reliable? :)
Cloud
Posts: 4
Joined: Monday 26 December 2016 14:48
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Checking a virtual dummy text field in Blocky

Post by Cloud »

Lebo2d9 wrote:I do this with a user variable
Hi Lebo2d9,

thanks for the info, its strange that it works with user variables but not with text fields. Have to look for a other possibility here.

@Nautilus i have an Gardena mower with an wlan module (robonect) so i can just ping the module for a presence check. But i think a z-wave magnet sensor woud be the best bet if its possible with the mower.
Nautilus
Posts: 722
Joined: Friday 02 October 2015 12:12
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Finland
Contact:

Re: Checking a virtual dummy text field in Blocky

Post by Nautilus »

Cloud wrote:@Nautilus i have an Gardena mower with an wlan module (robonect) so i can just ping the module for a presence check. But i think a z-wave magnet sensor woud be the best bet if its possible with the mower.
Thanks! Yes a wifi-connection would be nice, but no retrofits available for a Robomow that I can see of. Maybe need to experiment with the magnet switch still or try if a z-wave power plug would give different readings when mowing, charging & idle (range should be better for a powered device, but remains to be seen whether there is notable consumption difference for idle / mowing, I guess there should be though).
Spori
Posts: 1
Joined: Friday 22 September 2017 11:06
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Checking a virtual dummy text field in Blocky

Post by Spori »

Hello,
did you suceed to
check the "Error" of your "Mower" regularly?
As I am planning to implement a similar solution I would be interested

My plan is to check regularly the Mower Status
(http://1.2.3.4/xml?cmd=status&svalue=TEXT)
and put the result to a text field.
(How do I have to do this. Via LUA script? Example is appreciated)
This Text field I want to check regularly if an error occured.


Example Output of Mower Status

Code: Select all

<robonect>
<successful>true</successful>
<name>XXXXXXX</name>
<status>
<status>17</status>
<stopped>false</stopped>
<duration>29636</duration>
<mode>0</mode>
<battery>100</battery>
<hours>1234</hours>
</status>
<timer>
<status>2</status>
<next>
<date>25.09.2017</date>
<time>06:00:00</time>
<unix>1506319200</unix>
</next>
</timer>
<wlan>
<signal>-95</signal>
</wlan>
</robonect>
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests