Anyone ever try pus...
 
Notifications
Clear all

Anyone ever try pushing setting values to Mycodo?  

  RSS

anti
 anti
(@anti)
New Member
Joined: 3 weeks ago
Posts: 1
August 26, 2020 9:18 am  

I'm trying to push a set of parameters to Mycodo existing settings. Would the best way to do this be to identify the settings of a component in the database and just replace values?


Quote
Topic Tags
API
not_5
(@not_5)
Eminent Member
Joined: 2 years ago
Posts: 30
August 27, 2020 3:36 pm  

You should be able to do it through the mycodo terminal commands.


ReplyQuote
not_5
(@not_5)
Eminent Member
Joined: 2 years ago
Posts: 30
August 28, 2020 1:52 pm  

Just to clarify, I mean the terminal commands that are parsed by mycodo_client.py but it looks like most of those POST type commands are PID oriented.


ReplyQuote
Kyle Gabriel
(@kylegabriel)
Member Admin
Joined: 6 years ago
Posts: 302
August 30, 2020 12:50 pm  

There are currently no easy ways to change most settings externally. I'm welcome to pull requests for adding POST endpoints to the API, though.

Mycodo Developer


ReplyQuote