custom file for eMylo 3-Phase Smart Wifi Energy Meter #2320
Replies: 6 comments 2 replies
-
Yes, it's a shame that no one can help... |
Beta Was this translation helpful? Give feedback.
-
I think very few people have the time to spend playing spot the syntax error in a PDF printout of someone else's YAML config. I suggest pasting your code into a validator such as https://yamlchecker.com/ |
Beta Was this translation helpful? Give feedback.
-
Even when I try, I get the error message "Parse error in meter1.yaml" `name: eMylo meter
|
Beta Was this translation helpful? Give feedback.
-
Here I have the file again as a zip |
Beta Was this translation helpful? Give feedback.
-
Thanks for the help...yes, I should read carefully. `name: Metering_3PN_WiFi
secondary_entities:
|
Beta Was this translation helpful? Give feedback.
-
and as zip file... |
Beta Was this translation helpful? Give feedback.
-
Hello everyone,
unfortunately I have absolutely no idea in this area. I read the documentation on how to write such a file, but I didn't really understand it. So don't kill me if I ask a stupid question.
I have a Make eMylo smart meter here. However, it is not the 1-phase device that is already in the device database but a 3-phase device. Here is a link to the device on Amazon.
https://www.amazon.de/dp/B0D4DT8V37?tag=operapc-def-sp-co2-de-21
Here is an excerpt of the data from the Tuya Developer Tool
`ResponseCopy
{
"result": [
{
"active_time": 1726762981,
"bind_space_id": "61381298",
"category": "dlq",
"create_time": 1726762981,
"custom_name": "",
"icon": "smart/icon/ay1553162414592ZG6Kk/ed250f82f5259b55a100ffa430d9ef49.png",
"id": "bf7ad3617f2502b02foktb",
"ip": "xxx.xxx.xxx.xxx",
"is_online": true,
"lat": "51.01",
"local_key": "xxxxxxxxxxxx",
"lon": "6.89",
"model": "",
"name": "Metering_3PN_WiFi",
"product_id": "fzxonzodwjiugioz",
"product_name": "SDM01_WiFi+485_V1",
"sub": false,
"time_zone": "+02:00",
"update_time": 1726762984,
"uuid": "d35dcc51f1f47a5e"
}
],
"success": true,
"t": 1726764507945,
"tid": "fe89f5ca76a611ef88b02ac421ecbce6"
}
######################################################################
{
"result": {
"properties": [
{
"code": "forward_energy_total",
"custom_name": "",
"dp_id": 1,
"time": 1726763247371,
"type": "value",
"value": 30
},
{
"code": "phase_a",
"custom_name": "",
"dp_id": 6,
"time": 1726764314860,
"type": "raw",
"value": "CQUAAAAAAAA="
},
{
"code": "phase_b",
"custom_name": "",
"dp_id": 7,
"time": 1726764315103,
"type": "raw",
"value": "CQkAAAAAAAA="
},
{
"code": "phase_c",
"custom_name": "",
"dp_id": 8,
"time": 1726764315232,
"type": "raw",
"value": "CQMAAAAAAAA="
},
{
"code": "fault",
"custom_name": "",
"dp_id": 9,
"time": 1726763247371,
"type": "bitmap",
"value": 0
},
{
"code": "clear_energy",
"custom_name": "",
"dp_id": 12,
"time": 1726763325450,
"type": "bool",
"value": true
},
{
"code": "alarm_set_1",
"custom_name": "",
"dp_id": 17,
"time": 1726763342221,
"type": "raw",
"value": "BwAAGQ=="
},
{
"code": "alarm_set_2",
"custom_name": "",
"dp_id": 18,
"time": 1726763342315,
"type": "raw",
"value": "AQAAZAIBAA8DAQD9BAAAtAUAAAAHAQAA"
},
{
"code": "breaker_id",
"custom_name": "",
"dp_id": 19,
"time": 1726763325714,
"type": "string",
"value": "fzx24010001"
},
{
"code": "reverse_energy_total",
"custom_name": "",
"dp_id": 23,
"time": 1726763325131,
"type": "value",
"value": 0
},
{
"code": "active_power",
"custom_name": "",
"dp_id": 29,
"time": 1726763743826,
"type": "value",
"value": 0
},
{
"code": "supply_frequency",
"custom_name": "",
"dp_id": 32,
"time": 1726764315274,
"type": "value",
"value": 5001
},
{
"code": "online_state",
"custom_name": "",
"dp_id": 35,
"time": 1726762980993,
"type": "enum",
"value": "online"
},
{
"code": "power_factor",
"custom_name": "",
"dp_id": 50,
"time": 1726763325435,
"type": "value",
"value": 99
},
{
"code": "device_locating",
"custom_name": "",
"dp_id": 101,
"time": 1726763325466,
"type": "bool",
"value": false
},
{
"code": "data_report_duration",
"custom_name": "",
"dp_id": 102,
"time": 1726763325479,
"type": "value",
"value": 15
},
{
"code": "cur_voltage_x",
"custom_name": "",
"dp_id": 103,
"time": 1726764315290,
"type": "value",
"value": 2309
},
{
"code": "cur_current_x",
"custom_name": "",
"dp_id": 104,
"time": 1726764315305,
"type": "value",
"value": 0
},
{
"code": "cur_power_x",
"custom_name": "",
"dp_id": 105,
"time": 1726764315326,
"type": "value",
"value": 0
},
{
"code": "power_factor_x",
"custom_name": "",
"dp_id": 108,
"time": 1726764315449,
"type": "value",
"value": 99
},
{
"code": "x_total_import_energy",
"custom_name": "",
"dp_id": 109,
"time": 1726764315492,
"type": "value",
"value": 10
},
{
"code": "x_total_export_energy",
"custom_name": "",
"dp_id": 110,
"time": 1726764318186,
"type": "value",
"value": 0
},
{
"code": "cur_voltage_y",
"custom_name": "",
"dp_id": 112,
"time": 1726764315328,
"type": "value",
"value": 2313
},
{
"code": "cur_current_y",
"custom_name": "",
"dp_id": 113,
"time": 1726764315338,
"type": "value",
"value": 0
},
{
"code": "cur_power_y",
"custom_name": "",
"dp_id": 114,
"time": 1726764315394,
"type": "value",
"value": 0
},
{
"code": "power_factor_y",
"custom_name": "",
"dp_id": 117,
"time": 1726764315465,
"type": "value",
"value": 99
},
{
"code": "y_total_import_energy",
"custom_name": "",
"dp_id": 118,
"time": 1726764315567,
"type": "value",
"value": 10
},
{
"code": "y_total_export_energy",
"custom_name": "",
"dp_id": 119,
"time": 1726764315583,
"type": "value",
"value": 0
},
{
"code": "cur_voltage_z",
"custom_name": "",
"dp_id": 121,
"time": 1726764315409,
"type": "value",
"value": 2307
},
{
"code": "cur_current_z",
"custom_name": "",
"dp_id": 122,
"time": 1726764315421,
"type": "value",
"value": 0
},
{
"code": "cur_power_z",
"custom_name": "",
"dp_id": 123,
"time": 1726764315436,
"type": "value",
"value": 0
},
{
"code": "power_factor_z",
"custom_name": "",
"dp_id": 126,
"time": 1726764315478,
"type": "value",
"value": 99
},
{
"code": "z_total_import_energy",
"custom_name": "",
"dp_id": 127,
"time": 1726764315593,
"type": "value",
"value": 10
},
{
"code": "z_total_export_energy",
"custom_name": "",
"dp_id": 128,
"time": 1726764315611,
"type": "value",
"value": 0
},
{
"code": "current_unbalance",
"custom_name": "",
"dp_id": 130,
"time": 1726764315622,
"type": "value",
"value": 0
},
{
"code": "rs485_address",
"custom_name": "",
"dp_id": 131,
"time": 1726763325520,
"type": "value",
"value": 247
},
{
"code": "rs485_baut_rate",
"custom_name": "",
"dp_id": 132,
"time": 1726763325536,
"type": "enum",
"value": "9600"
},
{
"code": "rs485_data_format",
"custom_name": "",
"dp_id": 133,
"time": 1726763325550,
"type": "enum",
"value": "N81"
}
]
},
"success": true,
"t": 1726764318959,
"tid": "8de7f36a76a611efb77736033862a1ba"
}
`
I've now tried to create a config file.
F_Tuya_Local_Metering_3PN_WiFi.yaml.pdf
Now when I try to install the device under HomeAssistant I get the following error in the log
Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht
Logger: custom_components.tuya_local.helpers.device_config
Quelle: custom_components/tuya_local/helpers/device_config.py:998
Integration: Tuya Local (Dokumentation, Probleme)
Erstmals aufgetreten: 17:50:44 (1 Vorkommnisse)
Zuletzt protokolliert: 17:50:44
Parse error in Metering_3PN_WiFi.yaml
So there is an error somewhere in the file. Unfortunately I can't get any further now. It would be nice if you could help me here.
Please excuse my bad English.
Thank you and best regards
Beta Was this translation helpful? Give feedback.
All reactions