Smart Meter Integration and LoRaWAN Configuration Tips

Hey everyone, I’ve been diving into the world of smart meters and LoRaWAN integration lately, and I wanted to share my experiences and ask for some advice! I recently set up an iOKE868 Smart Metering Kit to monitor my energy consumption and solar panel output. It’s been a fascinating project, but I’ve hit a snag that I’m hoping you can help me with.

So, here’s the deal: the meter sends data via LoRaWAN to The Things Network, which I’ve successfully integrated into my Home Assistant setup. Now, I have an entity that alternates between showing my energy consumption and the solar power I’m feeding back into the grid. The JSON output looks something like this for consumption:

{
“OBIS_IDs”: [
{
“GroupMask”: 252,
“OBIS_ID”: “1_0_1_8_0_255”,
“Scaler”: -1,
“rawValue”: 101501104,
“unit”: “Wh”,
“value”: 10150110.4
}
],
“general_info”: {}
}

And this for solar power generation:

{
“OBIS_IDs”: [
{
“GroupMask”: 252,
“OBIS_ID”: “1_0_2_8_0_255”,
“Scaler”: -1,
“rawValue”: 24176,
“unit”: “Wh”,
“value”: 24176.6
}
],
“general_info”: {}
}

The issue I’m facing is that I want to assign these fluctuating values to separate sensors—one for consumption and one for solar generation. The OBIS_IDs in the JSON payload are the key differentiators here. My question is: how can I map these values to their respective sensors based on the OBIS_ID? I’ve looked into some documentation, but I’m still not entirely sure how to proceed. Any tips or advice would be greatly appreciated!

On a lighter note, I’ve also been experimenting with integrating my ZigBee lights outside the garage. I’m using a repeater switch near one of the lights to extend the range, and it’s been working like a charm! If anyone else is looking to do something similar without breaking the bank, I’d recommend checking out the ConBee II for a solid ZigBee setup.

Lastly, I’d love to hear about your experiences with smart meters and energy monitoring. Have you encountered any unique challenges or found any innovative solutions? Drop your thoughts below—I’m all ears!

Cheers,
[Your Name]