[Solved]devices not displaying correctly on mobile

Works fine on the mac, but certain rooms don’t display all devices. You can see the lines of where the devices should go, and for the rooms effected the Category drop down list changes its appearance. The Filter button doesn’t work (i.e. the filter drop down won’t ‘close’)

Tried reseting the theme and played with the options to no avail.

x

PS. Workflows. Seriously. Party this weekend.

[quote=“xeinth, post:1, topic:191596”]Works fine on the mac, but certain rooms don’t display all devices. You can see the lines of where the devices should go, and for the rooms effected the Category drop down list changes its appearance. The Filter button doesn’t work (i.e. the filter drop down won’t ‘close’)

Tried reseting the theme and played with the options to no avail.

x

PS. Workflows. Seriously. Party this weekend.[/quote]
You have a JavaScript crash , I need altUI version and JavaScript console log.

[quote=“amg0, post:2, topic:191596”][quote=“xeinth, post:1, topic:191596”]Works fine on the mac, but certain rooms don’t display all devices. You can see the lines of where the devices should go, and for the rooms effected the Category drop down list changes its appearance. The Filter button doesn’t work (i.e. the filter drop down won’t ‘close’)

Tried reseting the theme and played with the options to no avail.

x

PS. Workflows. Seriously. Party this weekend.[/quote]
You have a JavaScript crash , I need altUI version and JavaScript console log.[/quote]

you may try to apply this patch which should give us more indication of where the failure is

You have a JavaScript crash , I need altUI version and JavaScript console log.
[/quote]

you may try to apply this patch which should give us more indication of where the failure is
[/quote]

I’ll give this a try. The issues are on iOS devices so I can’t capture a log. This is 1.19. Not sure how long it was like this.

x

Here is the screenshot after the patch was applied.

I use a dimmable light & the spectrum.js widget display on my IOS device without problem, so something is strange
the message at the top is truncated, can you try to scroll the page and give me the whole message ?

also tell me more about your environment.
which devices exactly are having this problem and which at do not have it. for instance can you open ALTUI in a chrome browser on a different machine ?
how are you accessing ALTUI page ( local, remote ?, with what url in your browser )
how did you install / update ALTUI ,
what is your backend ( vera ? openluup ? )

another check we need to do. can you open this url on your ipad ?
http://cdnjs.cloudflare.com/ajax/libs/spectrum/1.7.1/spectrum.min.js

Here is another attachment, there are many of these boxes, I included one in its entirety.

The link just opens as text on any browser… not sure if something is off.

[quote=“xeinth, post:7, topic:191596”]Here is another attachment, there are many of these boxes, I included one in its entirety.

The link just opens as text on any browser… not sure if something is off.[/quote]

hum, ok lets try to debugging steps

  1. can you please note down the id of your ALTUI device ( “0-nnn” )
    then go to MISC/DEBUG / javascript code and type
MultiBox.getDeviceByAltuiID("0-nnn")

and send me the result. maybe you use some special settings here, we will see

  1. we need to make sure we do a full reinstall of the plugin. so open UI7 / Apps / develop Apps / Luup files. make sure the check box “restart Luup after upload” is checked/ then drag and drop all the file from this zip file into the Luup files dotted line box on the page where there is teh upload button. it should trigger the upload of all the files and restart your vera.

Then once ready, open the ALTUI page http:///port_3480/data_request?id=lr_ALTUI_Handler&command=home and make sure you force a browser refresh

  1. if still not working , open UI7, open ALTUI device click on the reset button

After all this, if still not working, I ll need to think about other step. in the mean time you may try to go into ALTUI device Settings tab and find teh configuration variable. find these lines and delete them then click “Set Configuration” and restart Luup / ALTUI

"urn:schemas-upnp-org:device:DimmableLight:1": { "DeviceDrawFunc": "ALTUI_PluginDisplays.drawDimmable", "ScriptFile": "J_ALTUI_plugins.js" },
let me know how it goes

See debug.txt for the settings. Everything else is a no go.

Did I mention my vera is cursed?

x

[quote=“xeinth, post:9, topic:191596”]See debug.txt for the settings. Everything else is a no go.

Did I mention my vera is cursed?

x[/quote]
Did you install the code I sent ? after that , my recommendation in the previous message should have produced a different result, let’s try again. please put this into the CONFIG setting of ALTUI device and click SetConfiguration button, then reload and tell me what happens. this basically disable the drawing for the Dimmable device.

{ "urn:schemas-micasaverde-com:device:PowerMeter:1": { "DeviceDrawFunc": "ALTUI_PluginDisplays.drawPowerMeter", "ScriptFile": "J_ALTUI_plugins.js" }, "urn:schemas-futzle-com:device:CombinationSwitch:1": { "DeviceDrawFunc": "ALTUI_PluginDisplays.drawCombinationSwitch", "ScriptFile": "J_ALTUI_plugins.js" }, "urn:richardgreen:device:VeraAlert:1": { "DeviceDrawFunc": "ALTUI_PluginDisplays.drawVeraAlerts", "ScriptFile": "J_ALTUI_plugins.js" }, "urn:schemas-futzle-com:device:UPnPProxy:1": { "DeviceDrawFunc": "ALTUI_PluginDisplays.drawPnPProxy", "ScriptFile": "J_ALTUI_plugins.js" }, "urn:schemas-upnp-org:device:Heater:1": { "DeviceDrawFunc": "ALTUI_PluginDisplays.drawHeater", "ScriptFile": "J_ALTUI_plugins.js" }, "urn:schemas-upnp-org:device:HVAC_ZoneThermostat:1": { "DeviceDrawFunc": "ALTUI_PluginDisplays.drawZoneThermostat", "ScriptFile": "J_ALTUI_plugins.js" }, "urn:schemas-micasaverde-com:device:DoorLock:1": { "DeviceDrawFunc": "ALTUI_PluginDisplays.drawDoorLock", "ScriptFile": "J_ALTUI_plugins.js" }, "urn:schemas-micasaverde-com:device:DoorSensor:1": { "DeviceDrawFunc": "ALTUI_PluginDisplays.drawDoorSensor", "ScriptFile": "J_ALTUI_plugins.js" }, "urn:schemas-rts-services-com:device:ProgramLogicTS:1": { "DeviceDrawFunc": "ALTUI_PluginDisplays.drawProgLogicTimerSwitch", "ScriptFile": "J_ALTUI_plugins.js" }, "urn:schemas-upnp-org:device:RGBController:1": { "DeviceDrawFunc": "ALTUI_PluginDisplays.drawBinaryLight", "ScriptFile": "J_ALTUI_plugins.js" }, "urn:schemas-micasaverde-com:device:PowerMeter:2": { "DeviceDrawFunc": "ALTUI_PluginDisplays.drawPowerMeter", "ScriptFile": "J_ALTUI_plugins.js" }, "urn:antor-fr:device:HVAC_ZoneThermostat:1": { "DeviceDrawFunc": "ALTUI_PluginDisplays.drawZoneThermostat", "ScriptFile": "J_ALTUI_plugins.js" }, "urn:schemas-dcineco-com:device:MSwitch:1": { "DeviceDrawFunc": "ALTUI_PluginDisplays.drawMultiswitch", "ScriptFile": "J_ALTUI_plugins.js" }, "urn:schemas-upnp-org:device:IPX800:1": { "DeviceDrawFunc": "ALTUI_IPhoneLocator.drawIPX", "ScriptFile": "J_ALTUI_iphone.js" }, "urn:schemas-arduino-cc:device:arduino:1": { "DeviceDrawFunc": "ALTUI_PluginDisplays.drawMySensors", "ScriptFile": "J_ALTUI_plugins.js" }, "urn:schemas-micasaverde-com:device:Keypad:1": { "DeviceDrawFunc": "ALTUI_PluginDisplays.drawKeypad", "ControlPanelFunc": "ALTUI_PluginDisplays.drawKeypadControlPanel", "ScriptFile": "J_ALTUI_plugins.js" }, "urn:schemas-micasaverde-com:device:FloodSensor:1": { "DeviceDrawFunc": "ALTUI_PluginDisplays.drawFlood", "ScriptFile": "J_ALTUI_plugins.js" }, "urn:schemas-rts-services-com:device:DayTime:1": { "DeviceDrawFunc": "ALTUI_PluginDisplays.drawDayTime", "ScriptFile": "J_ALTUI_plugins.js" }, "urn:schemas-micasaverde-com:device:Sonos:1": { "DeviceDrawFunc": "ALTUI_PluginDisplays.drawSonos", "ScriptFile": "J_ALTUI_plugins.js" }, "urn:schemas-cd-jackson-com:device:SystemMonitor:1": { "DeviceDrawFunc": "ALTUI_PluginDisplays.drawSysMonitor", "ScriptFile": "J_ALTUI_plugins.js" }, "urn:schemas-upnp-org:device:DigitalSecurityCamera:2": { "DeviceDrawFunc": "ALTUI_PluginDisplays.drawCamera", "ScriptFile": "J_ALTUI_plugins.js" }, "urn:schemas-micasaverde-com:device:TempLeakSensor:1": { "DeviceDrawFunc": "ALTUI_PluginDisplays.drawTempLeak", "ScriptFile": "J_ALTUI_plugins.js" }, "urn:schemas-utz-com:device:GCal:1": { "DeviceDrawFunc": "ALTUI_PluginDisplays.drawGCal", "ScriptFile": "J_ALTUI_plugins.js" }, "urn:schemas-upnp-org:device:DimmableRGBLight:2": { "DeviceDrawFunc": "ALTUI_PluginDisplays.drawDimmableRGB", "ScriptFile": "J_ALTUI_plugins.js" }, "urn:schemas-upnp-org:device:DimmableRGBLight:1": { "DeviceDrawFunc": "ALTUI_PluginDisplays.drawDimmableRGB", "ScriptFile": "J_ALTUI_plugins.js" }, "urn:schemas-upnp-org:device:VSwitch:1": { "DeviceDrawFunc": "ALTUI_PluginDisplays.drawVswitch", "ScriptFile": "J_ALTUI_plugins.js" }, "urn:demo-micasaverde-com:device:weather:1": { "DeviceIconFunc": "ALTUI_PluginDisplays.drawWeatherIcon", "DeviceDrawFunc": "ALTUI_PluginDisplays.drawWeather", "ScriptFile": "J_ALTUI_plugins.js" }, "urn:schemas-upnp-org:device:IPhoneLocator:1": { "StyleFunc": "ALTUI_IPhoneLocator.getStyle", "DeviceDrawFunc": "ALTUI_IPhoneLocator.drawIPhone", "ScriptFile": "J_ALTUI_iphone.js" }, "urn:schemas-rts-services-com:device:ProgramLogicEG:1": { "DeviceDrawFunc": "ALTUI_PluginDisplays.drawPLEG", "ScriptFile": "J_ALTUI_plugins.js" }, "urn:schemas-upnp-org:device:VContainer:1": { "DeviceDrawFunc": "ALTUI_PluginDisplays.drawMultiString", "ScriptFile": "J_ALTUI_plugins.js" }, "urn:schemas-upnp-org:device:altui:1": { "DeviceDrawFunc": "ALTUI_IPhoneLocator.drawAltUI", "ScriptFile": "J_ALTUI_iphone.js" }, "urn:schemas-micasaverde-com:device:HumiditySensor:1": { "DeviceDrawFunc": "ALTUI_PluginDisplays.drawHumidity", "ScriptFile": "J_ALTUI_plugins.js" }, "urn:schemas-futzle-com:device:CountdownTimer:1": { "DeviceDrawFunc": "ALTUI_PluginDisplays.drawCountDown", "ScriptFile": "J_ALTUI_plugins.js" }, "urn:schemas-micasaverde-com:device:SmokeSensor:1": { "DeviceDrawFunc": "ALTUI_PluginDisplays.drawSmoke", "ScriptFile": "J_ALTUI_plugins.js" }, "urn:schemas-cd-jackson-com:device:DataMine:1": { "DeviceDrawFunc": "ALTUI_PluginDisplays.drawDataMine", "ScriptFile": "J_ALTUI_plugins.js" }, "urn:schemas-a-lurker-com:device:InfoViewer:1": { "DeviceDrawFunc": "ALTUI_PluginDisplays.drawInfoViewer", "ScriptFile": "J_ALTUI_plugins.js" }, "urn:schemas-futzle-com:device:holidayvirtualswitch:1": { "DeviceDrawFunc": "ALTUI_PluginDisplays.drawVacation", "ScriptFile": "J_ALTUI_plugins.js" }, "urn:schemas-upnp-org:device:cplus:1": { "DeviceDrawFunc": "ALTUI_IPhoneLocator.drawCanalplus", "ControlPanelFunc": "ALTUI_IPhoneLocator.drawCanaplusControlPanel", "ScriptFile": "J_ALTUI_iphone.js" }, "urn:antor-fr:device:SamsungTVRemote:1": { "DeviceDrawFunc": "ALTUI_PluginDisplays.drawBinaryLight", "ScriptFile": "J_ALTUI_plugins.js" }, "urn:schemas-upnp-org:device:DigitalSecurityCamera:1": { "DeviceDrawFunc": "ALTUI_PluginDisplays.drawCamera", "ScriptFile": "J_ALTUI_plugins.js" }, "urn:schemas-micasaverde-com:device:TemperatureSensor:1": { "DeviceDrawFunc": "ALTUI_PluginDisplays.drawTempSensor", "ScriptFile": "J_ALTUI_plugins.js" }, "urn:schemas-upnp-org:device:BinaryLight:1": { "StyleFunc": "ALTUI_PluginDisplays.getStyle", "DeviceDrawFunc": "ALTUI_PluginDisplays.drawBinaryLight", "ScriptFile": "J_ALTUI_plugins.js" }, "urn:schemas-micasaverde-com:device:MotionSensor:1": { "DeviceDrawFunc": "ALTUI_PluginDisplays.drawMotion", "ScriptFile": "J_ALTUI_plugins.js" }, "urn:schemas-micasaverde-com:device:LightSensor:1": { "DeviceDrawFunc": "ALTUI_PluginDisplays.drawLight", "ScriptFile": "J_ALTUI_plugins.js" }, "urn:schemas-micasaverde-com:device:WindowCovering:1": { "DeviceDrawFunc": "ALTUI_PluginDisplays.drawWindowCover", "ScriptFile": "J_ALTUI_plugins.js" } }

I did try all of that, but I have good news bad news.

As per tradition, all good debugging occurs in the shower. It hit me that Safari has Adbockers you can install on the IOS devices. That was the problem.

Sorry to waste your time on this, but I was surprised that this was the impact given it impacted only one class of device. I would have expected it to be a bit more across the board for something like that.

X