Skip to content
PN Scripts

Smart home and IoT

Tokomer

Day and night electricity tariffs for Home Assistant, set up for Bulgarian two-tariff meters: the zone and price now, the next change, energy and cost by zone, and the cheapest time to run an appliance.

  • Home Assistant
  • Python
  • HACS
  • Coming soon

Coming soon

Not published on its store yet, so there is no buy or download link. PN Scripts does not take payment for it here.

Home Assistant dashboard with the night zone, price, next change, energy and cost

What it solves

The gap

Home Assistant does not know the Bulgarian two-tariff zones, their shift with summer time or what a kWh costs right now, so night-tariff automations and cost tracking are built by hand.

What it is

One integration with the Bulgarian zones built in, your prices, a night tariff switch, energy and cost by zone and an action that finds the cheapest start.

How you use it

Cheaper hours used automatically, and the cost of your electricity visible every day, without scraping or cloud services.

For Home Assistant users in Bulgaria with a day and night meter who want the boiler, the heat pump and the washing machine to run in the cheap hours.

Who it is for

Use it when

  • Heating the water heater only at night
  • Delaying a washing machine or an EV charge into the cheap hours
  • Tracking the cost of electricity by day and month

Built for

  • Home Assistant users in Bulgaria with a two-tariff meter
  • Installers who set up Home Assistant for clients

What is inside

The zones, built in

Night from 22:00 to 06:00 in winter time and from 23:00 to 07:00 in summer time, switching with the clock change or on fixed dates. The zone, the price and the next change update exactly when the zone changes, at midnight and at the clock change.

Your prices

Enter the price of each zone as on your bill, an optional extra per kWh for network fees and VAT on top. The current price feeds the Energy dashboard, and every zone's price is in the attributes.

Energy and cost by zone

Choose a total energy sensor and Tokomer books every increase to the zone in force: day and night kWh for the Energy dashboard, cost today and this month, kept across restarts.

Actions for automations

best_start returns the cheapest start for a run of a given length between two times, with its cost; get_schedule returns the zones and prices of up to seven days for scripts and dashboards.

Specs

Availability
Coming soon
Vendor
PN Scripts
Type
Plugin
Pricing
One-time purchase Price to be announced.
License
Proprietary
Deployment
Download (ZIP for custom_components or a private HACS repository)
Maturity
v1.0.0

Compatibility

Platform or runtime Supported versions Tested up to
Home Assistant 2026.10.0 or newer 2026.10.0

Stack

  • Home Assistant
  • Python
  • HACS

Tokomer is coming soon

It is finished and tested. It is not on sale yet; this page will say where to get it when it is.

Coming soon

Not published on its store yet, so there is no buy or download link. PN Scripts does not take payment for it here.

Questions

A Home Assistant integration for day and night electricity tariffs with the Bulgarian household zones built in, your prices, energy and cost by zone, and an action for the cheapest start.

Home Assistant 2026.10.0 or newer. For energy and cost by zone, a sensor with your total energy in kWh, Wh or MWh, from a smart meter reader, a plug or an energy monitor.

No prices and no data from distributors' websites: you enter the prices from your bill. It does not read your meter itself. Holidays do not change the zones, as with Bulgarian household tariffs.

Written in Python as a standard Home Assistant integration with a config flow and translations. Created with AI assistance; the zones, prices, energy split and actions were checked by PN Scripts with 29 automated tests, 9 of them inside a real Home Assistant 2026.10.0 core, and in a running Home Assistant through the night-zone change.

It is not on sale yet. When it is, this page will link to the store; PN Scripts does not take payment on this site.