2022-04-29

The latest crazy law

The latest crazy law imposed, today, with no notice, is The Russia (Sanctions) (EU Exit) (Amendment) (No. 9) Regulations 2022. My good friend, and lawyer, Neil, has blogged on it already...

This is one of those rare cases I am blogging as director of AAISP rather than purely personally.  See here for A&A news post on this.

The main issue is we, as an ISP, have to "take reasonable steps to prevent a user of the service in the United Kingdom from accessing, by means of that service, an internet service provided by a designated person."

I do wonder why - I mean this is asking anyone providing internet access, whether for their family at home, or via free wifi, or anything, to do this? Why not ask the handful of transit providers to do this instead - much simpler, surely? But OK...

My first issue as an ISP is what are those services? I mean these are not services offered by some corporate entity that happens to have a "designated person" as shareholder, officer, or even employee, but services actually provided by a "designated person", over the internet. This list of such persons is not simple or small, and working out which provide what services over the internet will not be a simple task.

So we plan to ask, maybe, OFCOM, as they have specific enforcement requirements in that legislation, for a list of such services.

But when we get that, what then? LOL, like we will get a sane answer, ha... But, well, then we have to try and block access somehow, if reasonable.

We do not have means to block access or filter anything by IP, or DNS name, in our network!

I can't stress this enough, we have never had any order to block anything or any previous legal requirement to do so, really. It is, in my opinion, not "reasonable" to expect us (for no payment at all, or otherwise) to magically implement such a measure, especially to do so between Laid before Parliament at 5.00 p.m. on 27th April 2022 and coming into force 29th April 2022, really. Or even (as it will cost a lot) later.

Update: As some people say, we have BGP routers that could have a black hole route added, and customer facing DNS servers that could have a bogus entry added. But this is the tip of the iceberg in terms of a "system" for blocking. There needs to be the management systems to maintain the blocked IPs and domains. Systems for who can add and remove entries. Systems to ensure they are applied correctly to the various config files. Procedures for handling mistakes. Procedures for handling support queries from customers relating to blocks (and mistakes in blocks, over-blocking, etc). Systems for getting the sanctions lists, processing it, researching the services provided by those Russian companies, and making changes over time. Yes, some ISPs have (most of) these systems and procedures in place for other reasons. We don't! On top of which, actual URL blocking is a completely different matter and simply impossible when considering the current use of https.

Update: That said, for a couple of domains, it is not impossible to add a DNS entry manually, but it is far from a scaleable solution.

What could we do?

At a push we could refuse to answer DNS for some domains on our customer facing DNS servers, but customer do not have to use them, so that would not be effective in meeting the requirement. And weirdly the providers of public DNS, like 8.8.8.8 and 1.1.1.1 are not subject to this order - why?

Indeed, if we had some way to block some routing to some IPs (and remembering we must not "over block" to meet net neutrality laws), customers are allowed to, and often do, use VPNs, so again, it would not actually be effective.

I am not sure we could "reasonably" take any technical measures. The closest we could get is not answering some DNS.

So what do we do?

Well, step one is we ask OFCOM for the list of services, and see what we get. That is it for now. I expect no list, to be honest, which sort of solves the problem.

Then we consider what next.

The other consideration is that we might "ask customers nicely" not to access such services. That sounds like a reasonable step to me. We might do that once we have a list of such services.

Update: The sanctions list has been updated - two "designated persons" have been listed: TV-Novosti and Rossiya Segodnya, with the web site rossiyasegodnya.com specifically listed. What is odd is that OFCOM have seen the list and decided that the sites rt.com and sputniknews.com should be "blocked" somehow. So which is it? What is the process for finding the "services" offered by the designated persons and how did OFCOM come up with those two domains? Is every coffee shop offering WiFi to somehow research some Russian companies to find what services they offer?

In practice, it looks like our (free) customer facing DNS servers may have to fib about a couple of domains for now. Not a scalable system, but hopefully "reasonable steps".

And just to be clear, I want the war to stop. But I am not sure how these sanctions help or are in any way effective. They are, however, a break from any notion of "mere conduit" for Internet Access. If they are needed, they are in the wrong place (surely transit providers, or DNS providers like 1.1.1.1 and 8.8.8.8, are more appropriate than every coffee shop offering WiFi). So we are doing what may be the only "reasonable steps" we can do.

2022-04-26

🦣

Back on the Mammoth, having re-installed Mastodon.

You don't have to set up your own instance. You can simply join any of the bigger mastodon servers. If you want to make your own, it is still a pain to set up, but the instructions do work if you follow them carefully. Here.

The larger servers are struggling a little right now, after the Musk take-over of twitter has been announced. Seems a lot of people think Mastodon is viable alternative. It may be, but it is different.

It is much more of a "social" network in that you have to socialise, and talk to people, to get followers and find who to follow. But no adverts and no "algorithms".

But I am here, on Mastodon, again, toot.me.uk/@revk so do follow me if you like any of the stuff I do/say.

P.S. As this is a new server, some servers have the old stuff cached in some way, so I may have to follow you first to get it to sort itself out. Let me know if you have problems following me.

2022-04-20

Solar install, part 4 (export)

Read part 1 for more background.

I'm really pleased with the install, and we are making 40 to 50kWh a day at the moment. So now for some paperwork...

One bit is a micro generation certificate, this confirms it is all installed by approved installers, etc, and has the details. I need that for and export tariff.

I have been discussing with the installers - we have a 12.09kW system (i.e. 31 x 390W panels), but they are east / west split so never all get direct sunlight. With the split and roof angle they have determined that maximum is going to be around 9kW, so a 10kW inverter is more than adequate. It will be interesting to see in the height of summer - but interestingly, even though only April, the generation in June won't necessarily be as good as you expect just by sun angle, because it is hotter. Being hotter makes the panels less efficient, so may cancel out the extra sun angle.

I heard there is some trick with some panels with water cooling, i.e. using the waste heat as a heat pump and keeping the panels cool for maximum PV. But we don't have that :-)

So, I may be making 9kW some days, yay. But what do I do with that?

As you will have read, the primary target for this my own usage, and then the excess power goes to a battery, so I can then use the power later when the sun is not shining as much - maybe covering my whole 24 hour day's usage for most if the summer, which is mental.

The bad news!

The battery is likely to be August. So 4 months of no battery. So, I'll export to the power grid, simples!

Well, yes, but that needs paperwork to. The Distribution Network Operator have to give permission to connect, which they have. The DNO decide what they consider the limit for export, if everyone was exporting, before it would cause damage to transformers, etc.

It varies, it can be as low as 3kW. Thankfully, in our cause though, it is 6kW. So we cannot export more than 6kW, legitimately.

Well 9-6 is still 3kW, and whilst I have the hot tub heating during the day, normally, a daytime idle power (when hot tub not heating), is a bit more than 1kW.

The result is, on a really sunny day, we could be exporting 2kW too much. Ooops.

Well, not quite, the inverter is set up to limit to the agreed amount, 6kW. It adjusts the panel optimisers to ensure that overall they are not quite as efficient, if we go over 6kW. So on a sunny day I should see a flat top on my export stats at 6kW. It means I will be literally throwing away some sunshine, up until I get my battery.

Paperwork

However, there is another snag - the final handover paperwork is normally done when the install is complete. The permission covers the solar and the battery - but we have no battery for 4 months - so I have no paperwork. So I cannot get on an export tariff.

The installers are trying to work out with Western Power Distribution how the handle an interim paperwork handover for the solar only without losing the permission to install the battery later. Hopefully something we have sorted shortly.

Tariffs

So the next step is a tariff for the next 4 months. It looks like I can get 5p/kWh from so.energy, less from Octopus unless I move to them for import as well. Octopus also do an agile tariff, but not being able to control when I export (yet, no battery), just relying on sunshine, I am not convinced that makes sense (a variable tariff for every half hour noticed a day in advance).

So my plan for now is probably the 5p/kWh from so.energy for 4 months, if I can confirm how the 12 month minimum works penalty wise. Once I have a battery I will need to revisit tariffs as there are interesting options.

2022-04-16

Solar install, part 3 (performance)

Read part 1 for more background.

I have now had one cloudy day, and one much more sunny day. This is April 14th and 15th. Bearing in mind that the forecast from the installer was an average of 24.28kWh/day over the year. I expect winter to be much lower, obviously.

Cloudy April day

The cloudy day had a total of 17.9kWh, usage was 47kWh.

Sunny April day

The sunny day had a total of 48.5kWh, usage was 45.4kWh. Yes, we made more than we used!

P.S. After a few days I can see we are typically doing 40kWh to 50kWh most days, the low cloudy day seems to be very much the exception.

What does that mean?

It looks very much like the forecast is, as expected, somewhat pessimistic and I can expect much higher. The 40 and 50kWh days in April suggests we will easily exceed the forecast for the year.

The sunny day is interesting - we made more from solar than we used, even in April. I can't be sure how usage will go over the summer - I expect it to drop noticeably as the heated kitchen floor used a lot in the winter, but also we now have air-con. The air-con is quite low usage at present, but when it is really hot and sunny it will be using more. The good news is those days will have more solar.

It really does highlight the need for the battery (which is on order). With a battery I could have had all of yesterday's power from solar and imported none. That is, quite frankly, amazing.

I have also changed the hot tub, as one of the really high users of power, to heat during the daytime when we have spare solar rather than maintaining temperature all day and night. Especially without the battery - that alone will save £'s a day.

Part 4

2022-04-15

Solar install, part 2 (tasmota/shelly EM)

Read part 1 for more background. See my blog on power monitoring.

I installed monitoring for power usage a few months ago. This is using Shelly EM power monitoring modules with current clamps, reflashed with tasmota code. It works well, I have some nice graphing stuff (all on GitHub).

Now I have the solar panels I have to allow for "negative" power flow, i.e. exporting to the grid.

Sadly it did not work, and my googling did not help. I raised a question, and apparently this has come up before #15315#12861, and a merge #12874, great. So the current code should handle the ADE7953 sign bits and do negative power.

The problem was that I was not seeing negative values at all, so my graphing is all messed up as all export shows as import. Very frustrating. I even went to building tasmota code myself, and no joy.

However, I found a clue, in the later source code (after that merge), it has a model flag to indicate if Shelly 2.5 or Shelly EM, and it only does the negative power on the Shelly EM. This has to be a clue.

I tried the config template from the code, and nothing happened. Still not working. After a lot more reading of the code I worked out the issue.

It is subtle, but the "2" next to the ADE7953_IRQ, rather than "1" seems to be the trick here. Of course, changing to "2" did not fix it - because I was exporting AND I had the clamp backwards so still seeing +ve (import) figures only. Fixing the clamp as well, and now it looks good.

Now I have graphs that show negative (export) power, at last. I have to tweak my graphing code to allow for that next...

And yes, the sun is shining a bit now...

Part 3

2022-04-14

Solar install, part 1

I finally have a solar install, and a battery on order. So this blog is the first one on this - I don't have a lot of data yet as it just went in, and I don't have a battery yet as they are like hen's teeth, so more on both of those later.

Solar panels waiting to be installed

The basics on a solar install

Firstly, it is not a simple/quick "free electricity" solution for the current price rises. There is more to it in terms of whether it is worthwhile, and over what period, and so on. I hope I can explain some of the factors here. There are several factors.

When the sun actually came out yesterday

How much power do we use anyway?

In my case we use a lot of power. Over the winter, since I have started monitoring in more detail, we have been using around 60kWh a day. One kWh (kilowatt hour) is one "unit" of electricity, and currently that is costing me over 28p - but tariffs are a key factor here. 60kWh is a lot, and a typical household is more likely to be 10kWh/day. Bear in mind that will depend on the time of year and the type of heating and so on.

One of the first things I did was install some monitoring. This is way more useful that simply having a smart meter as it tells me much more accurately where the power usage is happening. This meant some Shelly EM modules with tasmota and current clamps - not that expensive, but did mean messing with current clamps on lots of circuits. It means I can graph usage per circuit.

It immediately highlights the key uses of power here are the hot tub (yeh, it came with the house), and the heated kitchen floor (also came with the house). Other users like tumble drier come in when used, obviously, and now we have air-con that too is a noticeable factor. Some adjustments to temperature made a noticeable difference, and I really want to find something nicer for the kitchen floor (it is also a living room). The rest of the house is gas central heating. I would say that summer is expected to be lower, but the air-con will make a difference.

So yes, we are a very high user. This is, however, a factor in terms of solar - if you make more than you need you are "selling" it as export - but getting a good tariff for that is not so simple. You make/save most with solar if you are using it yourself, as that will save you money at that huge 28p/unit rate. Exporting it may only get you 5p/unit. Oddly you can have a different company for "exported" power payment than for your "imported" power - crazy, but apparently the best deals on export are when both are the same.

The other issue here is that our usage is in bursts - we have a base of around 1kW a lot of the day, but hot tub uses an extra 3kW in short bursts, and the kitchen floor is even more, but again in short bursts and often in the morning before the sun rise in winter. So we have these high bursts of usage that will often not be covered by solar. This is where the battery comes in - being able to store the extra solar when only using 1kW and power things when they burst. (more on power monitoring)

Hot tub

The good news is the air-con is not quite so bursty the way I have it set up now, and this can more easily be covered by the solar before I even have a battery.

Air-con

So why solar anyway?

One obvious factor is saving money - but this is where there is a catch - if I simply put the money in a savings account and used it to reduce my electricity bill every month, that would probably be better for the next decade - well, maybe, but certainly for a few years.

This is all a bit of a "Vimes's boots" scenario - i.e. the poor have to keep buying cheap boots, but the rich can afford to spend a fortune on boots once and they last so much longer than they end up spending way less overall. The same is true here - if you can afford a solar install you can have decades of spending way less on electricity - something from which that those who cannot afford the install would greatly benefit.

So what other factors are there?

Well, one factor for me is the stability of this (or perhaps "energy security" is a better phrase) - electricity prices are silly now and could get extra silly soon (next rise is October). If I can produce a noticeable chunk of my electricity, and have a means to reduce a lot of the rest (shut down the hot tub, etc), I can protect myself from those silly prices. It is, of course, hard to pin a figure on what this means in advance, especially if trying to plan for the next decade.

Another factor comes in with the (expensive) battery (Tesla power wall). It is able to power the house, so a short power cut (of which we have only had one so far) can be covered. Again, there are risks - the way the country is being run, and factors like Russian oil/gas, etc, could mean power cuts - who knows? This is a small risk, but it would be very nice to manage small power cuts - whether deliberate ones, or simply storm related (as last time).

Finally, it is investment in the house. We expect to be here some time - maybe "forever" from our point of view, but the solar install should improve the house value. This may be useful if ever we do want to sell, or if we raise funds on the house, or even when it comes to our kids selling it. The installation is not just throwing money away - it increases the house value some (yes, this itself is complicated as some older solar "roof rental" deals are more of a burden and can reduce value).

Of course it is also an environmental aspect - it helps reduce the burning of fossil fuels. Indeed, I seem to have earned a gold star already!

Solar and/or battery?

There are two distinct aspects - solar panels and battery. These are distinct but do help each other, so you may want solar, battery, or both, depending on your circumstances.

Solar

The Solar aspect is pretty simple - the panels make power - more in summer than winter - only during the day - more when the sun is shining than in cloud. The installer can predict how much in the year. That will allow you to work out the cost vs payback. The installer should do proper forecasts.

For us, based on 22p/unit starting point, we are looking at a little over 10 years to cover the cost of the solar system install. Over the following 10 years we are looking to save a further twice the cost of the install. This assumes some inflation on electricity prices as well as some degradation on performance.

On this basis you can see solar cost per unit over 20 years is good, better than you would get from any electricity supplier even now. On a long term plan it makes sense. It may even make sense for some people on a "loan to install" basis, but that is a risk over future interest rates.

Battery

This is where the options and costs get even more complex. It seems there are some battery systems which basically help "level out" the solar some (those 3kW spikes for hot tub, etc), and are not a lot of good as a "backup" for a power cut. These are probably a no brainer in terms of managing the solar supply from any install as the usage and the solar can vary during the day - something even a small battery can level out nicely.

There are, however, some that can back up the house, and the tesla power wall is one of those. Such systems cost a lot.

For a start, the battery helps make the most of the solar. It means you are not exporting. Without this, any time in the day we are making more than we use, we are sending that electricity to the grid. It you are lucky, and have sorted the paperwork (I have not yet, just installed), you may get 5p/unit for that. It is much better for that to go in to a battery and then get used later saving you 28p/unit.

For example, right now, on a very cloudy April morning, I am making over 2kW but only using 1.43kW. As I don't yet have all the paperwork to be on any "export tariff", I am just wasting that 0.61kW going to the grid.

A cloudy morning

In an ideal world with solar and battery, when you have enough solar in a day to cover a day's usage, you want a battery that can store enough to cover the night time, and hence never import any electricity on those days (typically in the summer). If you have usage figures then that can be quite easy to work out. Even so, you may also be able to move usage around - especially if anything (e.g. a car) needs charging as well.

But a battery has other advantages - apart from the possibility of covering a short power cut, it can also work with agile tariffs - charging from the power grid when electricity is very cheap in the middle of the night, etc. You then use that power during the day.

Indeed, just having a battery, and no solar, can end up making your electricity very cheap. We may even want a second battery at some point for this very reason.

In this case you want a battery that can charge in the short periods of cheap power (middle of the night), at the same time as perhaps charging your car, and hold enough (allowing for any solar contribution) to power your house for the rest of the day until the next cheap charging point. Again, not too hard to work out, and to decide if you want to cover winter (less solar) and summer (less battery needed).

So for some people a battery is an option - but a good battery system like the tesla power wall can end up costing a lot more than the solar install.

There are some power companies (Octopus, for example) with special tariffs where you give them control of your battery (if a Tesla battery) allowing them to feed in power when they need, and they end up charging you only for net power usage at a much lower rate. Such a tariff is extra "simple" as you don't have to do anything - it just works and you have power at a low rate. They even keep some in reserve for power cuts.

Both

In my case, I have gone for both - though that does make it harder to work out what each separately may be saving me. It also means I need to sort some suitable tariffs. That special tariff that need control of the battery also only works if you also have a solar install and a tesla battery. Even then, there are some limits per battery on solar capacity and daytime usage, with which I may have a challenge on only one battery. This could be fun, and I am sure another blog post eventually.

Payback

The forecast payback, as I said, was a round a decade, for the solar alone, based on 22p/unit starting point.

That said, if I was to take a simple calculation of 60kWh/day usage at 28p/unit, that is £6132 a year. If I make an average of only 25kWh/day from solar, and get on a 10p/unit "they control the battery" tariff, that gets to £1277/year, saving around £4855k/year. That makes a payback of a £22k solar and battery system under 5 years. If I can make use of the battery to charge at 5p/unit middle of the night, top up with solar, and use battery for my usage, then payback would be 4 years. There is even a saving on standing charge to add to that. Now allow for inflation, or maybe an October rise to 35p/unit, and well, things get very interesting - there is a very real prospect of the whole system payback in only a few years - even Vimes would be impressed.

Of course, it could be we get a sane government, and sensible power pricing, and the payback is way longer - but I am, none the less, buying stability.

More specifics...

The supplier I have used is Green Park Power, based in Abergavenny (a short walking distance from my house). They have been very professional. I'm impressed.

The system is 31 panels, each 390W, so 12.09kW total. It is using solar edge - with per panel optimisers and an inverter in the loft. The per panel optimisers are DC/DC convertors allowing the mix of panels that have high and low light levels to all work together, even allowing for some in shade. Traditionally panels in shade can bring down the overall performance, but not so in this system.

It also allows monitoring of power per panel, and whilst there system is cloud based (which I dislike), it is very good. (I thought solar panels did not like "clouds"). I may set up some MODBUS stuff to provide some local monitoring in the long run, obviously. The inverter does connect to WiFi or, as in my case, Ethernet.

The figures in my case are roughly £12k for solar and £10 for battery, but it will very much depend on circumstances.

It really is simple

It is just working, the solar power cancels a chunk of the usage and creates some export. I mean, yes, once I have a battery, I may want to fine tune to make the best of some tariff, but in general I don't have to actually "do" anything - it just works. For now (before I get a battery) I have tweaked the settings on my hot tub, as one of the main power uses in the house, to be when the sun is shining.

But ultimately if someone bought the house they would not have to "do" anything, it would just lower their bills!

More to follow...

The solar edge monitoring if very comprehensive, and in a few days I should have some more useful data to share. Later this year I'll also have a battery to play with.

The first day, yesterday, was very gloomy, wet, and cloudy, but in the afternoon we were seeing a consistent 5kW, and at one point in the morning when the sun came out, well over 8kW. In our case, even though the system is rated to 12kW, it is 12 panels facing west and 19 facing east, so not expected to have full capacity, making 8kW rather impressive. I am going to love seeing a proper sunny day on this. But only starting stats some time yesterday, I don't even have a full (cloudy) day's stats yet.

A quick update: First whole day (all cloudy) 18kWh, second day (more sun) 43kWh so far (4:30pm). Remember the forecast was only 25kWh/day over the year, and at this rate I'll exceed that just in the summer.

Part 2

2022-04-11

Power line signalling thoughts (demand power management)

There are ways that things can communicate over power lines, notably Ethernet over power, which, IMHO, is crap. I am sure it has its place, but I would avoid like the plague.

However, I can see one area where some simple signalling would be very cool, and ideally in a really standardised way. Indeed, the idea that this could even signal incoming on your mains feed is not at all daft.

It actually sort of exists, it is frequency - when under 50Hz (UK) the power grid is struggling to meet demand, and when over 50Hz it has extra capacity. At present, few, if any, devices can detect or use that. Just using that could be useful, but I am thinking only a simple signal of 5 possible values.

What I am talking about is some signal that can tell a device :-

  • Right now power is effectively negative, please consume some power now even if it is going to waste
  • Power is cheap now, if you have a choice, now is the time to use it
  • Normal - use power as needed
  • Power is expensive now, if you have a choice, now is the time not to use it
  • Please shut down usage if at all possible right now

Not suggesting a complex set of signals by any means.

Now, if this was inherent in the mains supply, that could be useful of a lot of devices in the home. Ideally you need some signally (i.e. not frequency, really) so that you can isolate and run your own in the house. So for a house with solar and not a sane feed in rate, you can set this based on your solar/battery status in the home. But for most people not having this, the grid can set it.

I guess, it could be a standard that is frequency as the primary key and a secondary power signally for home override, maybe.

The point is that lots of kit really has a choice. At the simplest level, things like electric emersion heater, but in my case things like my hot tub. At present my hot tub heats based solely on temperature. With a very slight bias it could target that heating when we have spare solar. Just adjust target temp by say 0.5C depending on the signal on cost of power right now. Same for water heater. Same for heating or cooling a home, e.g. even aircon. Especially true for charging anything from a mobile phone, right up to a car.

It would need to be a simple standard and somehow in the chipsets for power supplies on any and every device. A world wide standard for this would be great.

2022-04-08

New air-con, part 4

As you know, I got air-con last year, and it had to be taken out. That was a Mitsubishi system. It did not manage to heat or cool even the smallest room sensibly, and had a show stoppers in terms of temperature control of the rooms. So yes, removed. We did keep the lossnay for fresh air though.

I have now got 4 Seasons Solutions to put in new air-con. It works. A lot of this blog is comparing the Mitsubishi with my new Daikin system.

Outside unit

The Mitsubishi system was set up with two outside units on the back wall. Each drove an inside unit. The Daikin is done with one outside unit. It is ironic that the old system seemed to really lack power to actually heat or cool even with more units of a similar size.

A single unit is better, not just for appearance but if there are any issues with planning permission. A heating only single outside unit is actually a permitted development. Yes this unit cools, but you then get in to interesting debates about what happens if you change a heating only (permitted development) to a heating and cooling (non permitted development) and how such a change "does not change the external appliance of the property" so is outside the scope of planning permission. One hopes we don't get in to that debate. In our case I have pictures of the place from just before we moved in with two large outside air-con units that had been there for years, so at best this is about the fact that the air-con location is slightly different. I doubt there will be issues, and retrospective planning permission is not usually an issue. If it was two units, it would be a different matter. It was quite handy as the second power cable and RCBO can be used for the solar install now.

Inside units

The Mitsubishi system had two inside units, each covering two rooms. I should have decided against this, in hindsight. The plan was that we would have motorised vents to allow each to work one room, the other room, or both. That actually worked. We also had relays to switch the controller from one room to the other (it oddly only handles one controller!). That too worked. What did not work is using the controller for temperature, so we could never control temperature in the second room on each unit (assuming the air-con worked properly in the first place, which it did not). So that was a show stopper.

The new system has 4 separate inside units. Even so, it is cheaper. It is cheaper than the rest of the original bill after paying for the lossnay to stay, even.

Like the Mitsubishi, these inside units are ducted. This is nice as it means no big wall mount unit - which frankly would have been difficult to find space to mount in some rooms.

However, one of the rooms has no loft. With the Mitsubishi system, we managed to run the air flow duct behind plaster board (there was a surprising gap) and behind wardrobes in a room above. It was a lot of work (which we did, not the installers). We decided that trying to run two more ducts, at 4 times the size each, would really not be practical. So we went with one of the 4 rooms having a wall mount unit. The pipework for this was somewhat easier.

We kept the original duct for the lossnay, so we still have fresh air.

Ducts

The ducts were different. The new system had ducts that are 4 times the size of the Mitsubishi system. This is where we changed one to the new ducts.

The vent/covers are nicer too.

What is more fun is the original Mitsubishi installation had ducts that were half the size of this, i.e. 1/8th of the size we now have, and they were adamant they should have been enough!

Wired controls

The Mitsubishi system had a separate control for the lossnay and air-con, which was annoying in itself for an integrated system. It allowed one air-con control for each inside unit. It could not use the controller as temperature reference - crazy.

The new system has wired wall mount remotes. They are not bad. (yes, some holes to fill).

The system can use the controller for temperature - yay, and all 4 rooms have separate control (the wall mount uses an IR control though). The system, as a whole, is only heat or cool at once, but each room is separately controlled at separate temperatures at the same time. As we have central heating (also controlled by Shelly modules) if we ever need mixed heat and cool we can do that easily enough.

The new controllers also have bluetooth and an app. This means the controller itself is pretty simple, and all the admin or installer menu stuff is on the app. Not a bad compromise.

Computer integration

This is where the Mitsubishi was really limited. There was no WiFi or bluetooth. The unit did have some connections that allowed for external control, so as fan speed, but not something simple like heat/cool mode. I was expecting to connect to this, and maybe even reverse engineer the wired remote. I stopped doing that when it seemed clear that the whole thing was not going to work well.

The Daikin system, however, has bluetooth on the wired controllers, and wifi modules. OK, yes, I have reverse engineered and replaced the WiF modules, but even so, that was not too hard. What they provided did actually work (if you are happy with a cloud based system).

The fact I now have fine control using my own WiFi modules is a real win. At present it is heating my room over night (see image on right).

Some limitations of ducted systems

Having now tried two ducted systems, they are a little different than the wall mount I have been used to, and some things still hold true for that.

Both systems had few fan settings. The Mitsubishi had 4 levels, but only the top two actually ran the compressor, the first two just blow air, so very limited. The Daikin has 3 levels. The wall mount Daikin has 5 levels and "auto" and a "night" mode. I'd love a "night" mode on the ducted systems to be honest, but looking in to noise attenuators possible, or just getting used to it.

Another caveat is that a ducted system, having vents in the ceiling, it can take a while to heat as the heat fills from the top of the room - this creates a noticeable lag in heating at bed level. The wall mounted unit is much better at this as it able to direct the airflow down and create more circulation.

The proof of the system

The real proof will be in the summer, and we will see. Tests so far suggests it just works, and works really well.

Ooops

Almost forgot, as people will ask: It cost around £10k and took a week to install.

Part 5

2022-04-07

New air-con, part 3

Before I give the run down on the new air-con, I want lots of nice graphs showing how the temperature works, and these take time. The simple summary is that I am impressed. So more in part 4, and lots of photos.

But in the mean time - my little WiFi modules for the Daikin air-con. They work really well, and I have the temperatures coming in now. I am sure there will be some fine tuning.

I also have a web interface, to allow simple local control. I have worked hard on the niceties like easy setting WiFi client mode and so on - this being an areas where the Daikin modules really sucked. These are really annoying fiddly things with web sockets and wifi client connects and DHCP and all sorts - really silly small things that take all day. So slow progress for a change. But this should be really good.

So at this point the idea is that these WiFi modules allow local (web) control, and MQTT control which can be local or external and even secure mqtts if needed - ideal for building management, and no "cloud" shit via a third party. That is working well. A nice touch would be to support the old Daikin http URLs as well, which I may yet do.

But there is more...

One of the things I did in my old house was rather convoluted. It was an MQTT connected app on my linux box that poked the http URLs on the old Daikin WiFi module to provide some MQTT access and control. That combined with a separate tool on my linux box that talked MQTT to that app and the environmental sensors. The result was a really neat and tight temperature control using the environmental sensor as the reference. But it did mean tuning these background tasks on my main linux box.

However, I am taking a new approach now - the WiFI modules talk MQTT directly. And the environmental monitors have evolved to have a time profile temperature for controlling central heating as well. That works well with a Shelly Plus 1 (well several) doing heating and water and so on. So the new approach is that the environmental monitors report over MQTT directly to the WiFi control modules - saying what temp they see now and what target they want (or min+max if needed).

(I had a slight issue that heating is set off in bedrooms during day, as you expect, but with a min of say 18C, which is fine for the central heating, but the air-con meant it though that if that was turned on it had to cool to 18C. I have since made it have a wide range define for idle times to avoid the air-con being silly).

The WiFi module then has an local auto mode override. Much like the wired remote which tells the a/c to be cool or heat with appropriate targets, rather than trusting its auto mode, my module can do the same.

But, as always, I reinvent even my own wheels. The direct access to the a/c makes it much more responsive, so I can create a much nicer algorithm. It is always fun making any control/feedback loop system, and more so when you are second guessing the system you are talking to. Some experimentation, and a lot of settings to allow fine tuning, and I found I have to tell the a/c to heat or cool 1.5C beyond where it things it is before it will turn on or off the compressor as required. So I can compensate for its hysteresis and apply my own rules.

Obviously for efficiency you want to avoid rapid heat/cool switch overs, so I have temperature and time controls for that. But I can tweak the target temperature in real time to make it do what I want.

This is a good example, it is my office during the day today. And we have a fun case where this time of year the temperature now is close to what we want, in this case 21C. So no aircon may be better. However it is a good test of the algorithm to test in this edge case of spring/autumn - when it is really hot outside or really cold outside is an easy case.

What is interesting is that it actually went wrong. At 13:40 ish it switched to heating (the heavier line), and it should not have. I have since found the edge case, the temp only just touched the target on previous cycle, not passing it (difference of > and >=) which meant it thought it had been under temp for over 15 minutes which is enough to trip to heating. I also have a min time it stays heating or cooling, but had been cooling all day (starting 7am). I have since fixed this, so today it would have stayed cooling.

Even so, it is otherwise keeping within around 0.2C or 0.3C of target temperature. Basically it should have wandered off below the line for a while, i.e. the room naturally cooler than 21C, before it switched to heating. We'll see that in the autumn now, or who knows? Maybe next week. This is Wales.

Just to be clear - we are not turning it off and on, or changing between heat and cool all the time, this is just small adjustments to the target temperature and letting the Daikin a/c decide what to do as a result.

What is also interesting is the power usage. When installed on 1st, I was using the controller remotes, not my own code, setting a temp in auto mode. Even the early WiFi module code on 2nd and 3rd was not doing this smart control. The result was a lot more power usage.

As I refined the code over the last few days, making a big difference when I started on the 4th, it has ended up much more efficient. Today, for example...

We get solar in next week, which will provide enough power to more than cover this, thankfully.

But the result of all this is my environmental monitor and air-con Daikin WiFi control modules allow much nicer control. I think we may have to start selling them :-)

Part 4

2022-04-02

New air-con, part 2

Again, not actually blogging on the system as a whole - it is impressive, but not finished until next week.

One aspect of the system is the Daikin WiFi module. It is a plug in thing for the ducted units, and built in (but still a unit on a wire in a slot) for the wall mount unit.

It used to be that Daikin WiFi modules worked locally, on the (WiFi) LAN, with an app, and have a rather easy to use http based API with which loads of software is already designed to work. There is a big open source community one this.

Sadly the latest version is different. It is "cloud based", not local control. Seriously, why do this? I mean, as an "option", OK, but killing local control is not good. This really is not good Daikin. I do not need "cloud control" (aka "dependancy") for things in my home.

Also, weirdly, it broadcasts its SSID even when on my WiFi, which is also stupid. I won't want it advertising or being vulnerable. So no!

As a result, today, I decided to tackle this issue.

Reverse engineering!

I decide to look at the connections it has to the main unit. They look simple. Checking with a meter I see DC around 17V, and a couple of wires. There was also a 5V line, but not connected. So looks pretty simple, GND, DC, and two signal wires at around 5V. I could have laid bets on the signals being 9k6 serial data, and they are. What a surprise.

So, oscilloscope, and we see, they are indeed 9k6, even parity, 1 stop bit, serial data, half duplex (poll and response) packet protocol.

So, what next, well.. Some debug...

With the serial data now connected to an ESP32, and some logging, I was quickly all to dump packets of data sent. The format did not look complex, some headers, length, a simple checksum, and so on.

Of course, using the "cloud" system I could generate commands, and dump them. I quickly worked out how I set the temperature, the fan speed, the mode, and so on.

I have a load of status responses too, that need a bit of work - various temperatures. But not too hard.

So next step is trying to emulate the controller myself. One issue is the signals are all 5V and my stuff is all 3.3V.

However, the ESP32 can generally cope with 5V coming in, and 3.3V seems good enough for the air-con to see the 1's and 0's. So good enough for a proof of concept. A proper board will need some protection from the 5V, which is not hard.

The new controller

The new controller was made from a simple generic board to start with. I now have designs for a "proper" board, but this was good to prove it works.

The board is small! A fraction of the size of the Daikin module. But it works! I can power on/off, set the temperature, the mode, the fan speed, and so on.

So now to tidy the code, document it, do more tests with a wall mount unit with a lot more settings, make the PCB design and order some samples, and so on. Much to do.

I also want a nice web interface, nice MQTT interface, and maybe even make it backwards compatible with the older Daikin WiFi modules to allow a variety of apps to work. Oh, and stop sending its SSID when on-line locally!

But making a new Daikin WiFi aircon control module is not bad for a Saturday, and still time for hot tub, and curry.

It is all open source, and on GitHub, even if a bit of a work in progress. But yes, I think this will be a useful product.

P.S. I then found the wall mounted unit is a different model that talks a completely different serial protocol at a different speed, so spent Sunday making that work as well.

Part 3

2022-04-01

New air-con, part 1

As you will know from my previous posts, having moved to Wales (over a year ago now), I wanted air-con installed. I had this in Bracknell and am very used to it. Also, last year, it got stupidly hot. The good news is I am also installing solar panels and battery which should cover the power usage of air-con in the summer, and a lot more. More on that later in the month.

Last year we got air-con, and after months of faffing, it was finally taken out. It was simply not good enough in a lot of ways. I promised a blog on this, and you will have one, next week, when the new install is finished. But I can say it is very very promising!

However, today, I am blogging on the Daikin WiFi adapters.

Oh my, this was hard work!

The ducted units appear as WiFi access points, and there is a label and even removable sticker with the SSID and the passphrase. It even has a QR code, yay!

The QR code is quite dense, but guess what - it is not a WiFi connection code which your phone would understand and connected to the WiFi, no, it is just the "KEY" (passphrase) which the phone naturally thinks is a phone number. Why do that?

Connecting to the WiFi AP gets an IP, good, and there is a web page on the device IP, good. But it is just a set of free s/w licence details. No actual web interface. Just a simple page to allow setting the SSID and passphrase as a client - that's all it would need in an ideal world, but no. They could even make DNS such that it appears as a "splash" page when you connect on most phones. Not actually that hard. Shame.

The good news is that there is an app. And the instructions say to use the app. They have a QR code, but it just goes to apps.daikineurope.com which helpful explains you need the "Daikin Residential Controller" app. No helpful link to get it - no, that would be too simple. There is no "Daikin Residential Controller" app! There is a "Daikin Online Controller". There is an app called "ONECTA". There are a lot of third party apps too.

The Daikin Online Controller app does not work, but it does have step by step instructions on how to get things to connect, which I tried. They don't work. Lots of on-line help has the same, even videos. Things like "Hold MODE for 3 seconds" on the wifi module on the device, to make it show "AP" light. Well these units were clearly being APs, but the AP light was off, and pressing MODE did nothing. Very annoying.

I also have a wall mount unit, and the instructions are holding a button on the remote for 7 seconds, and then selecting a number. Again, that just does not work. Now, I know that worked in my old house with Daikin wall mount units. Again, very annoying.

It turns out "ONECTA" is the app you need and the old app does not work at all. Arrrg.

But then it insists you need an on-line account on some cloud services - not amused, but I was hopeful that once on the WiFi here I can do stuff directly and just kill off the app later. So went ahead.

If connected to the AP from the air-con the app "sees" it right away, great. You select, and it connects to the device, and then to the cloud service, which obviously does not work as the phone is not on the Internet - it is connected to the device. If you swap WiFi a bit you can progress more, but ultimately you cannot actually get it working.

I found loads of on-line help, all of which appears to be based around the older app, which no longer works.

Eventually I found you can manually add a device on the app, and if you manage to pick the right options you eventually get to ping pong talking to device and your normal WiFi and it will put the device on the wifi. Finally. Hard work or what?!

Worryingly the app wants to know where I am so it can check local weather - why? The temperature I want my room does not depend on local weather. Worrying.

The app also insists I change to indoor control for temperature and not the wall mount controllers I have. Well I want to use the wall mount controllers for temperature, so really not sure about that!

Anyway, I have ducted units on line now, but what of the wall mount air-con unit? It is not appearing as an AP even. Well, thankfully the manual adding instructions on the ONECTA app does explain - you take the cover off, open a flap, pull out a wifi controller module (looks just like the ones on the ducted units). But on this one you *DO* have to press MODE for 3 seconds and the AP light comes on. WTF? I now have that unit on-line too.

The Daikin units used to have some simple http based APIs that allow basic control. Loads of details all over the internet. Guess what? They don't work. So this will probably mean some reverse engineering.

That's enough for today.

P.S. the wall mount controls for the ducted units have bluetooth and an app that just works quite nicely with them without any hassle. Also, the previous air-con attempt had neither WiFi nor Bluetooth - so whilst this may seem some hassle, it is already a massive improvement!

P.P.S. (Thanks Matt) WHY OH WHY do they still broadcast the set up SSID even when a client?!

Part 2

The power of eSIMs

I was always skeptical of eSIMs. The idea you have a mobile identity in a physical SIM that you control seems a sensible approach. An eSIM i...