6.3.0.14 Added Calc Resolution

This commit is contained in:
Adrian Scillato 2018-11-26 21:25:57 -03:00 committed by GitHub
parent f7a8f39f89
commit 2ce7862594
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -534,6 +534,7 @@ Setting_5_10_0 = {
'energy_kWhtotal': ('<L', 0x554, (None, None, ('Pow', None)) ), 'energy_kWhtotal': ('<L', 0x554, (None, None, ('Pow', None)) ),
'mqtt_fulltopic': ('100s',0x558, (None, None, ('MQTT', '"FullTopic {}".format($)')) ), 'mqtt_fulltopic': ('100s',0x558, (None, None, ('MQTT', '"FullTopic {}".format($)')) ),
'flag2': ({ 'flag2': ({
'calc_resolution': ('<L', (0x5BC,2,13), (None, '0 <= $ <= 3', ('Management', '"CalcRes {}".format($)')) ),
'current_resolution': ('<L', (0x5BC,2,15), (None, '0 <= $ <= 3', ('Pow', '"AmpRes {}".format($)')) ), 'current_resolution': ('<L', (0x5BC,2,15), (None, '0 <= $ <= 3', ('Pow', '"AmpRes {}".format($)')) ),
'voltage_resolution': ('<L', (0x5BC,2,17), (None, '0 <= $ <= 3', ('Pow', '"VoltRes {}".format($)')) ), 'voltage_resolution': ('<L', (0x5BC,2,17), (None, '0 <= $ <= 3', ('Pow', '"VoltRes {}".format($)')) ),
'wattage_resolution': ('<L', (0x5BC,2,19), (None, '0 <= $ <= 3', ('Pow', '"WattRes {}".format($)')) ), 'wattage_resolution': ('<L', (0x5BC,2,19), (None, '0 <= $ <= 3', ('Pow', '"WattRes {}".format($)')) ),