• 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
Hi there,

I connected my Alecto WS-1700 to my pilight installation, using the given configuration:

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:
        "uuid": [{
            "uuid": "0000-3a-54-fb-30e954"
        "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
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
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
Sorry to post in this old topic, but has this meanwhile changed? 
Would be great to have a unique identifier for remote sensors that doesn't change when batteries are changed. I have multiple of these sending updates via pilight, and so have my neighbors. Had even the situation that two of them were using the same ID...

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

Forum Jump:

Browsing: 1 Guest(s)