That is strange, I wonder if this is because when you first ran it the resources were not available, it should however update the plugin preferences file when you open and save the plugin configuration.
Could you try doing just that (opening and saving the plugin config) which should refresh the resource list that the device config uses to populate that list.
If that doesn't work could you check out the plugin preferences file "com.barn.indigoplugin.GlowmarktCAD"
- Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<Prefs type="dict">
<API_enable type="bool">true</API_enable>
<Label1 type="string"></Label1>
<Label2 type="string"></Label2>
<Label3 type="string"></Label3>
<Label4 type="string"></Label4>
<Label5 type="string"></Label5>
<Label6 type="string"></Label6>
<Label7 type="string"></Label7>
<MQTT_enable type="bool">true</MQTT_enable>
<MQTT_enable_local type="bool">true</MQTT_enable_local>
<Pound_enable type="bool">false</Pound_enable>
<bright_account type="string">neil.@XXXXXXXXXX</bright_account>
<bright_password type="string">XXXXXXXXX</bright_password>
<electricity.consumption type="string">XXXXXXXX-ed2b-4df4-a8a4-0fc003996b81</electricity.consumption>
<electricity.consumption.cost type="string">XXXXXXX46f5-a9b7-246384d425db</electricity.consumption.cost>
<gas.consumption type="string">53094110-6acd-48ed-ac75-ce7f071d4228</gas.consumption>
<gas.consumption.cost type="string">b8e6dd9d-47fc-4a90-8caf-3fe7b0670b86</gas.consumption.cost>
<refresh_frequency type="string">10</refresh_frequency>
<resource_list type="vector">
<Item type="string">gas.consumption</Item>
<Item type="string">gas.consumption.cost</Item>
<Item type="string">electricity.consumption</Item>
<Item type="string">electricity.consumption.cost</Item>
</resource_list>
<showDebugInfo type="bool">true</showDebugInfo>
<simpleseparator1 type="string"></simpleseparator1>
<simpleseparator2 type="string"></simpleseparator2>
<simpleseparator3 type="string"></simpleseparator3>
<simpleseparator4 type="string"></simpleseparator4>
<simpleseparator5 type="string"></simpleseparator5>
<token type="string">XXXXXXXXXXXXXXXXXXXXXbkhhc2giOiJkNDBjZmVhM2ZlZTFjN2YyYTk3YTc2YTdlZTY4MDkzMGU4ZTMwMzM1YTFjNjc4YzI1NDExODI3M2U3NmMyOTEyZjk0OGM1NmYxYTM4MDc5YTViOGU2YzZjZmFkM2NiNDciLCJ2ZXJzaW9uIjoiMS4xIiwiaWF0IjoxNjgyMDgzNTI4LCJleHAiOjE3Mjk2MDM1Mjh9.6kkNmPL3_W8D6KcaLlATCONxhbC64mre2spUOHVyrlE</token>
<token_expires type="integer">1729603528</token_expires>
</Prefs>
and see if it is creating the resource_list entry.
If that doesn't work I will push a new version with more logging and also that adds local MQTT support that you will need when the unit arrives anyway and I now realise I have never published !
Neil