Jump to content
C4 Forums | Control4

ChicagoGuy

c4Forums Member
  • Posts

    5
  • Joined

  • Last visited

Everything posted by ChicagoGuy

  1. Built custom Thermostat driver (based on C4 Thermostat v2 proxy) and noticed that it was working on 1 iPad and my android phone. Noticed that the C4 app on the working iPad was outdated (only a few versions behind). So I upgraded it... BIG MISTAKE. It broke on my last working iPad too. Version: 320.23.0.371 (June 4, 2020) I update the thermostat reader via the proxy protocol notification: C4:SendToProxy(5001, "TEMPERATURE_CHANGED", {TEMPERATURE = intTemp, SCALE="F"}) On the COMFORT page within the App, the reading is correct. However, if you dive into the thermostat, it says NaN. Again, this works fine within the composer, and within the Android app: 320.21.0.3 (2020-05-21) but fails with the new iPad app. My temperature setting comes out with 2 decimal points, ex: 65.87, however I've tried sending it with 1 decimal point as well as 0 decimal points, to no avail. I wonder if a new proxy protocol notification is needed, or if the format needs to be changed. Any and all help is appreciated. Thanks!
  2. Well, I got it to some degree. The SMALL & LARGE tags seem to have no effect, but I can overwrite the image at the proxy level. However, only the small one. The large one stays as the DVD powered on logo. I also took them out of my project and started to use the ones in the composer directories. I also found the cache: C:\Users\XXXXX\AppData\Roaming\Control4\3.1.3\etc\c4z The driver gets saved here after adding it to the project and then unpackaged. If not enough of the driver has changed, Composer uses the old driver. I noticed it wasn't being updated after loading updated versions.
  3. So, that is the www/icons folder. I also tried PNGs. I tried both forward & backward slashes. I noticed that the DriverWorks app doesn't update the XML appropriately, so I only use it to build & publish, not update the code. I'm wonder if the Composer is caching it badly, so I'm not seeing any changes. I'd love to see a basic example that someone else has working to see if it works in my environment.
  4. I've dumbed it down quite a bit. I have a full driver somewhere else, but I figure if I can't get a basic one to change, why keep working on the complex one. I'm also trying this out on the Virtual Controller right now... In this example, it continues to show the cable icon, not my modified icon (aptly named Android). <devicedata> <version>5</version> <manufacturer>XXXXXXX</manufacturer> <model>Default Model</model> <search_type>c4:av_gen</search_type> <creator>Control4 (support@control4.com)</creator> <name>Default Driver Name</name> <small image_source="c4z">icons/Android_sm.gif</small> <large image_source="c4z">icons/Android_lg.gif</large> <control>lua_gen</control> <controlmethod>ir</controlmethod> <driver>DriverWorks</driver> <copyright>Copyright 2004-2014 Control4 Corporation. All rights reserved.</copyright> <created>06/11/2020 3:16 PM</created> <modified>06/11/2020 3:16 PM</modified> <proxies qty="1"> <proxy proxybindingid="5000" smimagepath="icons/Android_sm.gif" lgimagepath="icons/Android_lg.gif">cable</proxy> </proxies> <config> <script></script> </config> <connections> <connection> <id>5001</id> <connectionname>None</connectionname> <facing>6</facing> <type>2</type> <consumer>false</consumer> <audiosource>false</audiosource> <videosource>false</videosource> <linelevel>false</linelevel> <classes> <class> <classname></classname> </class> </classes> </connection> <connection> <id>5000</id> <connectionname>cable</connectionname> <facing>6</facing> <type>2</type> <consumer>false</consumer> <audiosource>false</audiosource> <videosource>false</videosource> <linelevel>false</linelevel> <classes> <class> <classname>SATELLITE</classname> </class> </classes> </connection> </connections> <capabilities></capabilities> </devicedata> Directory Structure:
  5. Any update on this? I'm having the same problem. The icons are always of the Proxy... nothing custom seems to work. I've tried GIF & PNG. I've tried in the Composer & in the Driver.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.