appdaemon icon indicating copy to clipboard operation
appdaemon copied to clipboard

iOS 10

Open azeroth12 opened this issue 4 years ago • 22 comments

I have appdaemon set to autoupdate on my docker server. After it went to 4.1.0 today it no longer works with my older iOS 10 wall mounted iPad. Is this by design and I need to downgrade and peg my appdaemon instance? Or is this a bug? I kinda of think that older tablets are a huge consumer of the dashboard part of appdaemon.

azeroth12 avatar Aug 21 '21 23:08 azeroth12

Reverting to 4.0.8 put me back in business.

azeroth12 avatar Aug 21 '21 23:08 azeroth12

Not going to explain or discuss this, but... #1140

image

https://github.com/AppDaemon/appdaemon/blob/522af70d849d917d17db96e13e68d5c01143c866/requirements.txt#L8

https://github.com/AppDaemon/appdaemon/blob/522af70d849d917d17db96e13e68d5c01143c866/appdaemon/assets/javascript/socket.io.js#L2

-> Those are not compatible

frenck avatar Aug 23 '21 13:08 frenck

Thanks for catching that @frenck

acockburn avatar Aug 23 '21 14:08 acockburn

Gotcha so we're in dependency hell here... Guessing bumping JS Socket.IO would be too easy an answer...

azeroth12 avatar Aug 23 '21 20:08 azeroth12

Might work - it’a basically a static library I included with AD so it looks like it just needs updating

acockburn avatar Aug 23 '21 21:08 acockburn

Fixed in dev

acockburn avatar Aug 28 '21 22:08 acockburn

Should it work w/ the docker dev image? I tested and it didnt work for me

boojew avatar Sep 08 '21 02:09 boojew

@boojew,

So you running the latest dev and still not working?

Odianosen25 avatar Sep 08 '21 14:09 Odianosen25

Correct. I am using acockburn/appdaemon:dev

boojew avatar Sep 08 '21 20:09 boojew

https://github.com/hassio-addons/addon-appdaemon/issues/156

miraculixdruid avatar Sep 12 '21 19:09 miraculixdruid

is there a likely hood this issue will be resolved any time soon? This is affecting a huge user base of people using older iPads (and other tablets). @frenck already explained the cause on August 23rd which is linked to https://github.com/AppDaemon/appdaemon/issues/1348 and the same as previous issue https://github.com/AppDaemon/appdaemon/issues/1140.

chiefcomm avatar Sep 27 '21 23:09 chiefcomm

As I said in the other issue for this - I have no way to test it so I am reliant on someone figuring this out. I have tried twice so far to fix it with no luck and I don't know what to try next.

acockburn avatar Sep 28 '21 00:09 acockburn

This can be tested on any system, by anyone, by setting:

http: 
  transport: socketio

frenck avatar Sep 28 '21 05:09 frenck

And the fixes I have tried in dev work just fine on my iPads but breaks on older iPads apparently so I have no way to test the fixes for the target devices.

acockburn avatar Sep 28 '21 10:09 acockburn

Thanks to a PR submitted by @clyra this should be fixed in dev

acockburn avatar Sep 28 '21 21:09 acockburn

Hi @acockburn, can you possibly give us an eta on the release that contains this fix? Thanks

rvnijnatten avatar Oct 04 '21 15:10 rvnijnatten

if you dont want to wait, then copy the directory basejavascript from github appdaemon/widgets to your config area (from appdaemon) in 'config_area'/custom_widgets

that will most likely solve the case untill next release.

ReneTode avatar Oct 04 '21 20:10 ReneTode

Tried this fix but can't get to work on the original iPad Mini running 9.3.5

auckz avatar Nov 23 '21 20:11 auckz

i dont know how you tried. maybe you can come to our discord and we can help you.

ReneTode avatar Nov 23 '21 23:11 ReneTode

I found that the process documented in this post helped me a lot and it works on a iPad Mini running 9.3.5 https://github.com/hassio-addons/addon-appdaemon/issues/156#issuecomment-939275413

chiefcomm avatar Nov 24 '21 09:11 chiefcomm

i dont know how you tried. maybe you can come to our discord and we can help you.

I copied the whole basejavascript folder to my config/appdaemon/custom_widgets/basejavascript I'm still having the same blank buttons

I'll hop on discord and see if we can sort this out, maybe I'm missing something

auckz avatar Nov 24 '21 16:11 auckz

As an fyi I was lazy and just pulled the :dev branch into docker and all is well again. So the fixes do work just haven’t been released. Nothing mission critical here so don’t mind it for now. I’m sure renetode’s suggestion would have the same effect minus the risk.

azeroth12 avatar Dec 13 '21 23:12 azeroth12