How to - Detect iOS firmware version (and then impose tyranny)

Hi everyone,

I have a rather tyrannic little project involving stuff I’m not ready to admit (like blocking my wife iPhone and iPad from the Wifi if she fails to update firmware after multiple notifications).

My network hardwares are UniFi and I’m using Node Red so I’ll easily be able to issue a command blocking the client from WiFi.

What I couldn’t figure tho, is how to detect her iOS version. Somehow I think it was there in the past, but I couldn’t locate it today.

Does anyone know how to check for device iOS version?

You can see the firmware version of the device in the integrations page. I’m not sure how you would go about pulling that in as a sensor.

The big question is, how is she supposed to update the firmware with no WiFi :wink:

I have a lot of ideas on how she could “earn” a 24h temporary WiFi activation :upside_down_face:

(Damn this sounds like extortion… rest assured, I told her my plan weeks ago and she was into it :crazy_face: )

So, does anyone have a clue how to create a sensor reading device_information ?

reviving this topic. did anyone find out?

looking for the same for a slightly simpler use case (dashboard showing “live” OS version of phones, PCs, tablets, VMs, …) which are currently being tracked manually in a spreadsheet.

Ok found out how:

Settings → Devices & services → Helpers → Create Helper → Template → Template a sensor

Name: myphone_osversion
State template: {{ device_attr('device_tracker.myphone', 'sw_version') }}

this creates the entity sensor.myphone_osversion

Of course, the HA Companion App needs to be installed on the respective phone and the Mobile App Integration in HA.

3 Likes