ThinkSpeak don't get values

Hi

I have tryed to log the wattaged from a Fibaro Wall Plug to Thingspeak.

But it only sends the 0 Watt.

I have a Well Pump pluged in to the Wall Plug, so I know there is a watt usage, but maybe only for 5 sec. every 2 min.

Can you see what is wrong?

Regards Jens

[quote=“dalhoj, post:1, topic:199135”]Hi

I have tryed to log the wattaged from a Fibaro Wall Plug to Thingspeak.

But it only sends the 0 Watt.

I have a Well Pump pluged in to the Wall Plug, so I know there is a watt usage, but maybe only for 5 sec. every 2 min.

Can you see what is wrong?

Regards Jens[/quote]

Should work. What are the Watts values you have on Vera ?
Do they include a . Or a ,
What this the decimal point setting of your lua box ?
What is your config ? Ui5 ui7 openluup? Versions ?

If that doesn?t help finding a root cause then please
Enable debug mode on altui force ? luup reload , wait til at least one value is sent and send me the logs

Hi again

The Watt value is with a . in the Vera UI.
I don’t know the decimal point setting of my lua box, I believe the standard setting? Where do I see that?
My config is UI7 version 1.7.3532 on a Vera Plus. With AltUI v2.24.2383, ? 2018 amg0,50103835, 1.7.3532

[quote=“amg0, post:2, topic:199135”]Should work. What are the Watts values you have on Vera ?
Do they include a . Or a ,
What this the decimal point setting of your lua box ?
What is your config ? Ui5 ui7 openluup? Versions ?

If that doesn?t help finding a root cause then please
Enable debug mode on altui force ? luup reload , wait til at least one value is sent and send me the logs[/quote]

[quote=“dalhoj, post:3, topic:199135”]Hi again

The Watt value is with a . in the Vera UI.
I don’t know the decimal point setting of my lua box, I believe the standard setting? Where do I see that?
My config is UI7 version 1.7.3532 on a Vera Plus. With AltUI v2.24.2383, ? 2018 amg0,50103835, 1.7.3532

[quote=“amg0, post:2, topic:199135”]Should work. What are the Watts values you have on Vera ?
Do they include a . Or a ,
What this the decimal point setting of your lua box ?
What is your config ? Ui5 ui7 openluup? Versions ?

If that doesn?t help finding a root cause then please
Enable debug mode on altui force ? luup reload , wait til at least one value is sent and send me the logs[/quote][/quote]
Thx all seems correct. And I do use decimal point values successfully on mine so let?s go deeper. Can you do follow the debug mode steps mentioned above so we see what?s up ?

Hi

I have send you a personal message with the log.

Thanks in advance :slight_smile:

[quote=“dalhoj, post:5, topic:199135”]Hi

I have send you a personal message with the log.

Thanks in advance :-)[/quote]
the PM did not work, no log attached. I sent you a private email addr you can use to attach the file

Fixed in github version

Not sure if this is a bug but starting to setting up ThinkSpeak and works great. But the default value seems wrong for Graphic Url.

Line 4437 of J_ALTUI.js

[5] = { [“key”]= “graphicurl”, [“label”]=“Graphic Url”, [“type”]=“url” , [“default”]=“//api.thingspeak.com/channels/{0}/charts/{3}?key={1}&width=450&height=260&results=60&dynamic=true”}
[5] = { [“key”]= “graphicurl”, [“label”]=“Graphic Url”, [“type”]=“url” , [“default”]=“[glow=red,2,300]http:[/glow]//api.thingspeak.com/channels/{0}/charts/{3}?key={1}&width=450&height=260&results=60&dynamic=true”}

Once I type in http:, the graphic shows up. But I have to do this for every single one I do. Kinda of a pain.

[quote=“kyle.dawson, post:8, topic:199135”]Not sure if this is a bug but starting to setting up ThinkSpeak and works great. But the default value seems wrong for Graphic Url.

Line 4437 of J_ALTUI.js

[5] = { [“key”]= “graphicurl”, [“label”]=“Graphic Url”, [“type”]=“url” , [“default”]=“//api.thingspeak.com/channels/{0}/charts/{3}?key={1}&width=450&height=260&results=60&dynamic=true”}
[5] = { [“key”]= “graphicurl”, [“label”]=“Graphic Url”, [“type”]=“url” , [“default”]=“[glow=red,2,300]http:[/glow]//api.thingspeak.com/channels/{0}/charts/{3}?key={1}&width=450&height=260&results=60&dynamic=true”}

Once I type in http:, the graphic shows up. But I have to do this for every single one I do. Kinda of a pain.[/quote]

the protocol is not specified such that both http and https work either well. you do not have to have a protocol specified, it would take the one of the current page. this way in remote access situation ( https with MMS gateway ) it still work
is there a specific place / problem that this generate ?

I get message that channel does not exist. As I went back in the AM, looks like you have to exit page first (Save). When you go back in it will works. I am good, just needed to finalize the info I guess.