I would like to have typenames "Watt" and "Frequency" as they are part of smartmeters and solar inverters.
For now I will use typename "Custom" instead, giving me the wrong precision and wrong icon.
Request for new TypeNames
Moderator: leecollings
- Dnpwwo
- Posts: 820
- Joined: Sunday 23 March 2014 9:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Melbourne, Australia
- Contact:
Re: Request for new TypeNames
@jeroenst,
TypeNames are just short cut for existing functionality.
If you want them added then you will need to supply the Type and SubType combination that will work.
EDIT: For Watts I believe you can use the TypeName "Usage"
TypeNames are just short cut for existing functionality.
If you want them added then you will need to supply the Type and SubType combination that will work.
EDIT: For Watts I believe you can use the TypeName "Usage"
The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw
-
- Posts: 25
- Joined: Sunday 18 June 2017 7:28
- Target OS: Linux
- Domoticz version: V3.7976
- Location: Netherlands
- Contact:
Re: Request for new TypeNames
This is a little odd, because with a solar inverter the watts are not used but provided..Dnpwwo wrote:@jeroenst,
TypeNames are just short cut for existing functionality.
If you want them added then you will need to supply the Type and SubType combination that will work.
EDIT: For Watts I believe you can use the TypeName "Usage"
Is there a list of available types and subtypes? I couldn't find them till now...
- Dnpwwo
- Posts: 820
- Joined: Sunday 23 March 2014 9:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Melbourne, Australia
- Contact:
Re: Request for new TypeNames
@jeroenst,
The list of types and subtypes is in hardwaretypes.h, you will need to find that on github.
The plugin framework uses the follwing:for Watts bases devices
The list of types and subtypes is in hardwaretypes.h, you will need to find that on github.
The plugin framework uses the follwing:
Code: Select all
else if (sTypeName == "Usage")
{
self->Type = pTypeUsage;
self->SubType = sTypeElectric;
}
The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw
Who is online
Users browsing this forum: No registered users and 1 guest