Open eet1mu3 opened 9 months ago
Some of my considerations, please chime in!
<Peer>/<Device>/<Channel>/…
<Device>
model (string)
e.g.: "Manson HCS-3404"
<Channel>:
Standard:
• enable (bool) (<- do we need an "enabled_target"?)
• I (float)
• U (float)
• U_target (float)
Standard for relay:
• enable (bool)
• (anything else?)
Others possible sensors:
• Temp
• CPU
• Memory
if i understand you correctly an example for a topic to consume the current would be:
/25fedc11-d37f-4752-b20b-0f60aa1541f6/Manson-HCS-3404/I
Right?
This would make connecting multiple power supplies of the same model impossible.
So the idea was more like this: /25fedc11-d37f-4752-b20b-0f60aa1541f6/main-supply1/0/I
Where /25fedc11-d37f-4752-b20b-0f60aa1541f6/powersupply1/model = "Manson HCS-3404"
The
Of course, we could just not use the channel sub-topic when the device only has one channel?
ah. model
is a sub-topic and "Manson HCS-3404"
it's value. got it. Thank you.
For a test bench with one powersupply providing two channels it would look like this:
/25fedc11-d37f-4752-b20b-0f60aa1541f6/powersupply_0/model
/25fedc11-d37f-4752-b20b-0f60aa1541f6/powersupply_0/0/I
/25fedc11-d37f-4752-b20b-0f60aa1541f6/powersupply_0/0/U
/25fedc11-d37f-4752-b20b-0f60aa1541f6/powersupply_0/1/I
/25fedc11-d37f-4752-b20b-0f60aa1541f6/powersupply_0/1/U
May i suggest to write current
instead of I
and voltage
instead of U
?
Added mqqt clients, one for Manson power supply and a demo one for cpu / mem /network stats: https://github.com/eclipse-opendut/opendut/commit/3074aa74bebcb33040f6f71ccef82d34e7068f2c
We need to discuss and decide the underlying technology. Current options are: