[SOLVED] Millheat Wifi Electric heater openhab binding

Update 2021:
An api has now been published:


Original post:

In Norway, we have just gotten a new product line on the market called Millheat Wifi, which seems ok to use with the proprietary app, but of course the obvious question would be if there can be made a openhab binding for it.

Some product links:

I still havent been able to find what kind of technology they are using to communicate with the ovens.

Have anyone else been searching for this, is my first question. :slight_smile: Would be happy to assist in making a binding, but not sure i will be able to take the lead in such a project.

So, just putting this thread here so that others who google for such a binding can find it and maybe voice there interest.

Norwegian home automation forum with tread about among others these ovens:

Update, took some time, but now two years later we see that there is already an unofficial integration to Millheat being made, the api consumed there could probably also be used in an openhab binding


But also there seem to be progress being made towards an open api being published by millheat itself.

1 Like

Hi, this is for home assistant, does this work for OpenHab aswell? cant find mill in the bindings list in the documentation, thanks for the update btw =)

Link was mostly meant to just give some background info about the progress for a millheat api. :slight_smile:

Allright, guess we have to wait then =)

Here is the python library that Home Assistant use: https://github.com/Danielhiversen/pymill

Anything new in the openHab connection whit Millheat?
there is an Open window function🤪

1 Like

I have started on an integration using the API used in the python library by @Danielhiversen. There is also a new public API defined, but no access have been given yet.


Sounds very exciting!

First draft available: https://github.com/openhab/openhab2-addons/issues/5076

Known shortcomings (to be fixed later)

  • no support for independent heaters
  • some properties only visible in the pymill script that I have not seen in any communication with the server from my side (open window, fan support etc) are not supported
  • No channels with information on which program and mode being active

Note: set log level to DEBUG for this binding to see full http communication with API. This will help me when debugging issues or for adding new features. NOTE: Be sure to remove sensitive info from log traces before posting them here - traces contains username, pwd, access tokens etc.

Happy testing! :wink:

1 Like

Great work with the Millheat binding @seime! I’ve been waiting for this binding for a long time :grinning:

I’ve installed the binding and I can see the values for power, current temp etc is being returned to OpenHAB.
However, when trying to change the temperature using the TargetTemperature channel, nothing happens.

I have increased the log level for the binding and it shows data being returned from the heater every 60 second, but when I try to change the temperature the log only displays:

2019-03-19 21:15:41.735 [nt.ItemStatePredictedEvent] - millHeater_1Floor_Office_TargetTemperature predicted to become 24 °C
2019-03-19 21:15:41.754 [vent.ItemStateChangedEvent] - millHeater_1Floor_Office_TargetTemperature changed from 23 °C to 24 °C

New beta release available for testing:

Updated docs: https://github.com/seime/openhab2-addons/tree/millheat/addons/binding/org.openhab.binding.millheat

Updating temperatures was not implemented in the previous alpha release.

Now there is support for setting temperatures on independent heaters (that are NOT connected to a room) as well as room program temperatures (away, sleep, comfort)

New beta release: https://github.com/seime/openhab2-addons/releases/tag/2.5.0.M5.millheat.beta2

New and noteworthy: Vacation mode support

Any feedback is welcome

1 Like

I will definetly be testing this during christmas holiday, thank you!

Have already tested this in milestone release, now it is in 2.5 release. :slightly_smiling_face:

Thanks @seime !

Great work :slight_smile:

I’m struggeling though to find the binding in my 2.5 stable installation. Did it ever get included? Can’t find it in PaperUI and installing it by addons.cfg doesn’t work either?

I am unable to test yet, but maybe @bjovas can assist?

It seems that a file in the binding is missing, and therefore it does not show for installation in PaperUI (or Habmin for that sake).

You can put https://bintray.com/openhab/mvn/download_file?file_path=org%2Fopenhab%2Faddons%2Fbundles%2Forg.openhab.binding.millheat%2F2.5.0%2Forg.openhab.binding.millheat-2.5.0.jar in the addons folder instead and it will work.

Will be fixed in the next release.

To make it work, I had to put commons codec together with the jar:

[23:57:42] openhabian@openhab:/usr/share/openhab2/addons$ ll
total 428K
drwxrwxr-x+ 2 openhab openhab 4.0K Feb 12 21:09 ./
drwxrwxr-x+ 4 openhab openhab 4.0K Jan 18 21:26 …/
-rw-r–r-- 1 openhabian openhabian 337K Feb 12 21:09 commons-codec-1.13.jar
-rw-r–r-- 1 openhabian openhabian 75K Feb 12 21:10 org.openhab.binding.millheat-2.5.1.jar