Custom Integration: Alfa by Sinapsi data integration

Hi Alex, i am having big doubts about how to configure my energy dashboard using your integration.
Actually i have set these energy sources in the dashboard putting as cost the same tariff based on the time of the day (i have only one tariff/day)

Is this correct ? or i must put only the sensor Energia Prelevata and not all the imported energy divided by tariff/hour?
Thanks for your reply…

You just need the total (Energia Consumata): the dashboard needs a sensor that tells it the total kWh consumed.

Ok, thanks, but why all the imported energy costs divided by time of the day are unavailable in your integration? How to set F1 F2 and F3 costs?

Sorry, I corrected the post, you need “Energia Consumata” not “Prelevata”. Consumed is the total energy consumed (import + production). “Prelevata” is just the one coming from the provider.

Here’s how it should be configured:

And here’s the detail of the “Solar Panels” section when you edit it:

Ok, but as i don’t have any produced energy, i can have PRELEVATA the same… Or not?

I have them (it’s always F3 but don’t know why, probably because I have a flat fee with my provider, it’s always the same cost.).

The integration simply reads from Alfa, it doesn’t do data transformation for time periods. So you need to check with Sinapsi if you have them at zero. Show me your sensors from the device page to check what values you have. Did you also check on the Alfa app?

I don’t understand the question: if the Energy dashboard asks you to input “Consumo di rete” you need to feed it the “Energia Consumata” sensor. It’s not an option you choose. You need to set what it needs.

If you don’t have a PV system, so no production, then imported energy = consumed energy, but it’s more appropriate to configure the consumed energy when it asks you for “Consumi”.

1 Like

Hmmm, so what is the difference between PRELEVATA e CONSUMATA if i don’t have any device which produces energy (solar panels for example) and both have the same value?

No, i was wrong… the sensors are there F1 and F2 at zero, while F3 has the value of the previous day (sunday).

I don’t know wh

I never checked them because I don’t need them, so I don’t know when Alfa updates them. If you need them, you should check Alfa documentation or contact Sinapsi support to understand how they work, how/when they are updated. They should always be updated like the totals.

I am trying to add a second device. The doc. says: “To monitor multiple devices, add the integration multiple times.” But I don’t seem to be able to add the integration a second time - I see “Alfa by Sinapsi supports only one configuration. Adding additional ones is not needed”

You can only have one Alfa per monitored meter. Do you need to monitor multiple houses?

Open a Feature Request in GitHub repository explaining the use case.

I have an additional Alfa monitoring a second house. Its network is connected via a VPN.

Open the FR on the repo.

v1.2.11 has been released.