• 10 dec 2017: forum version update. In case of issues use this topic.
  • 30 nov 2017: pilight moved servers. In case of issues use this topic.
Hello There, Guest! Login Register


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
config, device uuid <-> id
#1
Smile 
Hi there,

I connected my Alecto WS-1700 to my pilight installation, using the given configuration:
https://wiki.pilight.org/doku.php/alecto_ws1700_v7_0

this does work without a problem for me Smile

As the id of the weather station's sensor does change after one disconnects the batteries, one would have to change that ID within config.json in order to have pilight working with it again.

As the UUID does not change on battery change, using this one seems to be a way better solution to me Tongue

So i tried to use the UUID of that sensor instead.
e.g. like this:
Code:
        "uuid": [{
            "uuid": "0000-3a-54-fb-30e954"
        }],
or
Code:
        "uuid": "0000-3a-54-fb-30e954",

sadly none of these versions did work out for me Crying
Is it possible to use the UUID of a device instead of it's ID?
If so, what am i doing wrong? Big Grin

Thanks & BR
Twain
 
Reply
#2
The UUID refers to a specific pilight node, such as a raspberry pi or other computer running pilight on it, and not a device. See the pilight manual about UUIDs for more details about UUIDs and their use.

The ID of some weather sensors changes with every battery change, and all you can do is update your config with the new ID with the help of pilight-receive after every battery change Smile
 
Reply
#3
Quote:The UUID refers to a specific pilight node ....

Big Grin

Ok, thanks for that clarification.
Eventough i know the pilight nodes do have their UUIDs, i was not aware, it 's being published like that Smile

Which is why i hoped the UUID would be the sensors one .....

In that case, i stick to updating my config.json ... . Wink
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  ERROR: failed to read config. stack: 2 Stefan 6 573 02-03-2020, 09:37 PM
Last Post: curlymo
  raspberry pi 4 config.json Stefan 2 523 02-02-2020, 09:59 AM
Last Post: Stefan
  Config migration from pilight 7 .0 to 8.1.3 "Rules" Nonaamee 4 1,404 11-17-2018, 08:35 PM
Last Post: Nonaamee
  [Solved] uuid check removed from development Niek 2 839 01-11-2018, 07:27 PM
Last Post: Niek
  multiple uuid's, what's the syntax? hansrijn2 3 1,158 10-31-2017, 12:26 PM
Last Post: curlymo
  ERROR: config is not in a valid json format Sisko4 6 2,144 03-27-2017, 08:24 AM
Last Post: Sisko4
Question Controlling device values using a script (updating temperature manually) H4R0 1 1,310 12-07-2016, 09:55 AM
Last Post: pilino1234
  config device #1 "living", missing protocol jjlf 5 2,430 11-08-2016, 11:55 PM
Last Post: jjlf
  One Device Multiple Rules ColdScythe 1 1,067 11-07-2016, 07:07 PM
Last Post: curlymo
  pilight not starting with edited config departet 4 2,208 08-12-2016, 09:52 PM
Last Post: departet

Forum Jump:


Browsing: 1 Guest(s)