How to display status messages below device in UI5

I’m writing a plugin for OpenSprinkler; I have a parent device for the controller, and n devices for each irrigation zone.

I would like to place status message under the zone; but only see the API call to place status at the top of the UI5 screen (luup.task).

Please could someone point me in the right direction? I know it’s possible as status messages show up for light switches…

Thanks, Chris.

I never figured out a way to do it. It seems to be tied to the luup.job.* calls, somehow, but when I messed with those functions nothing would ever appear. Oddly, if I made a scene run an action on my plugin, the messages would appear under the scene, but never the device. Whether that’s by design or a UI JavaScript bug, I didn’t investigate.

[quote=“ChrisFSB”]I’m writing a plugin for OpenSprinkler; I have a parent device for the controller, and n devices for each irrigation zone.

I would like to place status message under the zone; but only see the API call to place status at the top of the UI5 screen (luup.task).

Please could someone point me in the right direction? I know it’s possible as status messages show up for light switches…

Thanks, Chris.[/quote]
Hi Chris
Did you make any progress on an opensprinkler plugin?

Sent from my ASUS Transformer Pad TF300TG using Tapatalk HD

Yes! I have a plug in completed - it provides control over OpenSprinkler’s mode of operation (Off/Auto/Manual) and individual station control.

I need to clean up the code a little, write up install instructions, and post. I need a few days…

Chris.

ChrisFSB, let me know when you get this done. I’m about to order the OpenSprinkler, just trying to decide between the Arduinio model or the Raspberry Pi model. I’m leaning towards the RPi model since I can use a WiFi USB Dongle and can run the Web Server on the Pi as well.

By the way, some screen shoots and a walk through would be nice.

I was about to buy an EtherRain controller until I saw the OpenSprinkler, I already have a couple Pi’s around the house as XBMC players so this fits right in.

I’m working with MCV to get the OpenSprinkler project up on the code.mios.com site. Hopefully will have this soon.

Chris.

tried figuring this out and i got this status output:

its the tooltip you need for status messages. no idea how to be able to change the jobs comment though. this is the one that needs altered for the message to display. my guess is that it would require some way to input a job name and the comment. no idea how.

OpenSprinkler plugin now available : [url=http://forum.micasaverde.com/index.php/topic,15738.0.html]http://forum.micasaverde.com/index.php/topic,15738.0.html[/url]