Dummy device temperature

Posted on
Mon Apr 30, 2018 7:02 am
qcvictor offline
Posts: 80
Joined: Apr 23, 2015
Location: Quebec, Canada

Dummy device temperature

Hi Guys
I would like created dummy temperature device where he will be filled by third party via plugin GhostXML, I read couple weeks ago about plugin who can handle/create this kind of sensor but I'm unable to put my finger on it.
Vic

Posted on
Mon Apr 30, 2018 10:12 am
jay (support) offline
Site Admin
User avatar
Posts: 18200
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Dummy device temperature

I thought GhostXML created the devices?

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Mon Apr 30, 2018 10:43 am
DaveL17 offline
User avatar
Posts: 6744
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Dummy device temperature

It does use discrete devices, but it saves all states as strings. This is for simplicity on the plugin’s behalf—the data would have to be converted somehow for numeric comparisons.


Sent from my iPhone using Tapatalk

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Mon Apr 30, 2018 12:43 pm
jay (support) offline
Site Admin
User avatar
Posts: 18200
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Dummy device temperature

In that case, perhaps the Device Extensions plugin would work (I don't know for sure but it seems like it may).

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Mon Apr 30, 2018 2:47 pm
qcvictor offline
Posts: 80
Joined: Apr 23, 2015
Location: Quebec, Canada

Re: Dummy device temperature

So I give it a try to device extension where "the conversion extension" look promising cause the value to display are in Fahrenheit and want get in Celsius unfortunately doesn't work, I will post and ask in the right forum.
Dummy device where we will be able to push and select different units (Litre, gallon miles, kwh.........etc ) will be great add on...

Posted on
Tue May 01, 2018 12:50 pm
qcvictor offline
Posts: 80
Joined: Apr 23, 2015
Location: Quebec, Canada

Re: Dummy device temperature

Does Indigo-Masquerade from FlyingDiver will do ?
http://forums.indigodomo.com/viewtopic.php?f=216&t=17402

Posted on
Tue May 01, 2018 1:13 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Dummy device temperature

qcvictor wrote:
Does Indigo-Masquerade from FlyingDiver will do ?
http://forums.indigodomo.com/viewtopic.php?f=216&t=17402


I'm not sure. Exactly what are you trying to do? The previous comments in the thread are very vague.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Tue May 01, 2018 1:50 pm
qcvictor offline
Posts: 80
Joined: Apr 23, 2015
Location: Quebec, Canada

Re: Dummy device temperature

FlyingDiver wrote:
qcvictor wrote:
Does Indigo-Masquerade from FlyingDiver will do ?
http://forums.indigodomo.com/viewtopic.php?f=216&t=17402


I'm not sure. Exactly what are you trying to do? The previous comments in the thread are very vague.


I would like get an temperature device where the temperature value will be filled by third party (Autelis pool controller in my case) via xml file parsed with GhostXML plugin,

Posted on
Tue May 01, 2018 1:59 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Dummy device temperature

qcvictor wrote:
FlyingDiver wrote:
qcvictor wrote:
Does Indigo-Masquerade from FlyingDiver will do ?
http://forums.indigodomo.com/viewtopic.php?f=216&t=17402


I'm not sure. Exactly what are you trying to do? The previous comments in the thread are very vague.


I would like get an temperature device where the temperature value will be filled by third party (Autelis pool controller in my case) via xml file parsed with GhostXML plugin,


Have you tried using the Pentair Pool plugin? It works with the Autelis controller.

In any case, the Masquerade plugin will not do what you want. It currently only does on/off type sensors (motion, power indicators, etc). Plus dimmers and speedcontrol (fans). But not value sensors, which a temp sensor would be.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Tue May 01, 2018 5:17 pm
qcvictor offline
Posts: 80
Joined: Apr 23, 2015
Location: Quebec, Canada

Re: Dummy device temperature

Yes I tried the Pentair Pool plugin and also the autelis jandy, unfortunately dowsn't work, my Panel is Hayward/Goldline....

Posted on
Tue May 01, 2018 6:15 pm
DaveL17 offline
User avatar
Posts: 6744
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Dummy device temperature

I believe this will work.

The Adapters Plugin can convert the string value to a float.

Create a new Adapters device that points to the device (the GhostXML device) state you want.

Create an Adapters device of type Custom Formula Adapter (numeric result).

Under the formula, use x * 1 (to be honest, you can probably just use x).

The resulting Adapters device state will be a float, that you can then key on.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Wed May 02, 2018 8:57 am
qcvictor offline
Posts: 80
Joined: Apr 23, 2015
Location: Quebec, Canada

Re: Dummy device temperature

Thanks you so much DaveL17 to point me the right plugin, he work perfectly with xml parsed, so next step is to get another temperature sensor via MQTT. Did you have tried ?

Posted on
Wed May 02, 2018 9:35 am
DaveL17 offline
User avatar
Posts: 6744
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Dummy device temperature

I’m not familiar with MQTT, but if your data source publishes XML or JSON, the GhostXML plugin should be able to work with it.


Sent from my iPhone using Tapatalk

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 3 guests