Not sure if this is scripting or not?

6 replies [Last post]
g7pkf
Offline
United Kingdom
Joined: 11 Jan 2011

 

 

what i have set up is on the inputs i can "see" when my boiler is on or the house alarm is on, what i would like to do is for these to be viewable on the joggler etc also is there a way of uploading and recording switch/input state to pachube?

 

Ta

brett
Offline
Providence, United States
Joined: 9 Jan 2010
Switch states with Pachube

Actually this was asked and fixed with issue 27 aka build 280.

xap-pachube understands that a value of ON will be 1, and OFF will be 0.  So if you monitor the state= value you'll get a nice pulsing graph on pachube.

Brett

g7pkf
Offline
United Kingdom
Joined: 11 Jan 2011
Ta

Will play later when swmbo goes out :)

g7pkf
Offline
United Kingdom
Joined: 11 Jan 2011
Hmm had a play but nowt on pachube

xfx viewer logs the input state correctly but nothing goes to pachube

 

xap-header
{
v=12
hop=1
uid=FF00DB03
class=xAPBSC.info
source=dbzoo.livebox.Controller:input.2
}
input.state
{
state=on
displaytext=Boiler State on
}

 

part of my ini file

 

id11=12
tag11=boiler
source11=dbzoo.livebox.Controller:input.2
class11=xAPBSC.event
section11=input.state
key11=text
id12=13
tag12=Alarm
source12=dbzoo.livebox.Controller:input.1
class12=xAPBSC.event
section12=input.state
key12=text

 

Expect im being really thick as normal...anyone see my mistake?

garrydwilms
Offline
United Kingdom
Joined: 31 Mar 2011
Pachube settings

Dean. Have you added this input to your feed in the pachube screen in the web GUI. If so paste a screenshot of this. Garry

kevin9
Offline
Lincolnshire, United Kingdom
Joined: 24 May 2010
Shouldn't the key be state

Shouldn't the key be state, there is no text= key in the message

 

kevint

g7pkf
Offline
United Kingdom
Joined: 11 Jan 2011
Yes

You are quite correct seems to be working now.

 

Ta

Hardware Info