Skip to content

Commit

Permalink
v1.4.0-beta.48
Browse files Browse the repository at this point in the history
- Fixes program editor events log count badge not clearing
- Fixes program editor loading status not showing on configuration change or recompile
- Fixes occasional save configuration error
- Updated DHT-xx IoT program with support for all DHT-xx sensor types (1-wire and I2C)
  • Loading branch information
genemars committed Sep 14, 2023
1 parent 2e7fd3f commit abb5c6a
Show file tree
Hide file tree
Showing 14 changed files with 124 additions and 173 deletions.
1 change: 1 addition & 0 deletions assets/build/all/app/assets/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"previous": "Previous",
"abort": "Abort",
"retry": "Retry",
"install": "Install",
"open": "Open",
"close": "Close",
"edit": "Edit",
Expand Down
6 changes: 6 additions & 0 deletions assets/build/all/app/assets/i18n/homegenie/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -172,14 +172,20 @@
"Running",
"program_status_background":
"Background",
"program_status_stopping":
"Stopping",
"program_status_stopped":
"Stopped",
"program_status_interrupted":
"Interrupted",
"program_status_disabled":
"Disabled",
"program_status_enabled":
"Enabled",
"program_status_broken":
"Broken",
"program_status_compile":
"Compile",
"automation_programming_guide":
"Programming guide'",
"tap_to_disable":
Expand Down
6 changes: 6 additions & 0 deletions assets/build/all/app/assets/i18n/homegenie/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -172,14 +172,20 @@
"In esecuzione",
"program_status_background":
"Background",
"program_status_stopping":
"Stopping",
"program_status_stopped":
"Stopped",
"program_status_interrupted":
"Interrotto",
"program_status_disabled":
"Disabilitato",
"program_status_enabled":
"Abilitato",
"program_status_broken":
"Broken",
"program_status_compile":
"Compilazione",
"automation_programming_guide":
"Guida alla programmazione",
"tap_to_disable":
Expand Down
1 change: 1 addition & 0 deletions assets/build/all/app/assets/i18n/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"previous": "Indietro",
"abort": "Interrompi",
"retry": "Riprova",
"install": "Installa",
"open": "Apri",
"close": "Chiudi",
"edit": "Modifica",
Expand Down
2 changes: 1 addition & 1 deletion assets/build/all/app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,6 @@

</div>

<script src="runtime.b92e2ca178ebbf4a.js" type="module"></script><script src="polyfills.a360d6e45b80c065.js" type="module"></script><script src="scripts.0dcb4f0a61221c18.js" defer></script><script src="main.a3047256dd4985fd.js" type="module"></script>
<script src="runtime.b92e2ca178ebbf4a.js" type="module"></script><script src="polyfills.a360d6e45b80c065.js" type="module"></script><script src="scripts.0dcb4f0a61221c18.js" defer></script><script src="main.bc324de15cf48e16.js" type="module"></script>

</body></html>

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions assets/build/all/app/ngsw.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"configVersion": 1,
"timestamp": 1694205053132,
"timestamp": 1694713738690,
"index": "/app/index.html",
"assetGroups": [
{
Expand All @@ -15,7 +15,7 @@
"/app/613.16b9c52c0ae74833.js",
"/app/859.0f150be9c99a6b5a.js",
"/app/index.html",
"/app/main.a3047256dd4985fd.js",
"/app/main.bc324de15cf48e16.js",
"/app/manifest.webmanifest",
"/app/polyfills.a360d6e45b80c065.js",
"/app/runtime.b92e2ca178ebbf4a.js",
Expand Down Expand Up @@ -414,10 +414,10 @@
"/app/assets/fonts/Roboto-Latin-300.woff": "fec6225507c70951797db15985fe0bf87195d6ee",
"/app/assets/fonts/Roboto-Latin-400.woff": "fec6225507c70951797db15985fe0bf87195d6ee",
"/app/assets/fonts/Roboto-Latin-500.woff": "7416b5d46c615d2786a604d71d334b605d41cc73",
"/app/assets/i18n/en.json": "e28a242c89aae47a54db6c23dcb301169fa883d7",
"/app/assets/i18n/homegenie/en.json": "2403bf5c039843282e3f8fa6f9d171d040c79f6b",
"/app/assets/i18n/homegenie/it.json": "c423d090f5a39dd9ea886aadca343c17812007a2",
"/app/assets/i18n/it.json": "5808ff5d944fcee6ad98de429ba94af204fddb8b",
"/app/assets/i18n/en.json": "af3f4edf453fe59217fd3e3ea98828eeb2a6f9b1",
"/app/assets/i18n/homegenie/en.json": "13c4d438328e273c553bdd2049a84c3934dd3c82",
"/app/assets/i18n/homegenie/it.json": "ded04726484552284a6e6496989e91e522819402",
"/app/assets/i18n/it.json": "1aebb002e44abf318936038c672f433ffed2ec9c",
"/app/assets/i18n/module/en.json": "bd1f58f6eeb2e8213bc5dbe316d1252db8aa436f",
"/app/assets/i18n/module/it.json": "35c4ef9b17591c0ef0283317a3f226c666d908f9",
"/app/assets/i18n/widgets/en.json": "81775f6536411948d4d4c6e054a768a21793ab24",
Expand Down Expand Up @@ -729,8 +729,8 @@
"/app/assets/widgets/weather/images_alt/thunder.svg": "2ace7038dfd663330cecc350d680ef08206d62ff",
"/app/assets/widgets/weather/images_alt/weather.svg": "c719c09048977fd40688272316b35ddf1bdf89e8",
"/app/assets/workers/typings-worker.js": "8df10d867c12d36cdebfb7e16caacd0020db301f",
"/app/index.html": "e1bd4c4d3238b2c067b0f40f1d5af2ca3185e28a",
"/app/main.a3047256dd4985fd.js": "1ee1f8d502db5b2ced956f5e31d811a875b5e1ac",
"/app/index.html": "eb314703f98797c27ee2c9c123ed5ee71a574559",
"/app/main.bc324de15cf48e16.js": "26819988e48c0cb67abad0c3af6a46fa8531f58e",
"/app/manifest.webmanifest": "d47bb07a495e27ddf072f8702df373f79b4eb183",
"/app/polyfills.a360d6e45b80c065.js": "f317e1a3e4bb6a84068c7e1845a2ce8b2f956ee7",
"/app/runtime.b92e2ca178ebbf4a.js": "b50d841a4c50d466c34aab3267d3fb4afe87dede",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,20 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<ArrayOfModule xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Module>
<Name>DHT-11 Sensor IoT</Name>
<Description>Read temperature and humidity from a DHT-11 connected to GPIO.
<Name>DHT-xx Sensor</Name>
<Description>Read temperature and humidity from a DHT-xx connected to GPIO.
</Description>
<DeviceType>Program</DeviceType>
<Domain>HomeAutomation.HomeGenie.Automation</Domain>
<Address>701</Address>
<Properties>
<ModuleParameter>
<Name>ConfigureOptions.DHT.Device</Name>
<Value></Value>
<Description>DHT Device</Description>
<FieldType>select:DHT-10=10,DHT-11=11,DHT-12=12,DHT-21=21,DHT-22=22</FieldType>
<ParentId>0</ParentId>
<UpdateTime>2023-09-14T16:36:23.0162594Z</UpdateTime>
</ModuleParameter>
<ModuleParameter>
<Name>ConfigureOptions.GPIO.Pin</Name>
<Value />
<Value></Value>
<Description>Pin number</Description>
<FieldType>select:GPIO17 (pin 11)=17,GPIO27 (pin 13)=27,GPIO22 (pin 15)=22,GPIO4 (pin 7)=4,GPIO5 (pin 29)=5,GPIO6 (pin 31)=6,GPIO13 (pin 33)=13,GPIO19 (pin 35)=19,GPIO26 (pin 37)=26,GPIO23 (pin 16)=23,GPIO24 (pin 18)=24,GPIO25 (pin 22)=25,GPIO12 (pin 32)=12,GPIO16 (pin 36)=16,GPIO21 (pin 40)=21</FieldType>
<FieldType>select:I2C (DHT-10 and DHT-12 only)=1,GPIO17 (pin 11)=17,GPIO27 (pin 13)=27,GPIO22 (pin 15)=22,GPIO4 (pin 7)=4,GPIO5 (pin 29)=5,GPIO6 (pin 31)=6,GPIO13 (pin 33)=13,GPIO19 (pin 35)=19,GPIO26 (pin 37)=26,GPIO23 (pin 16)=23,GPIO24 (pin 18)=24,GPIO25 (pin 22)=25,GPIO12 (pin 32)=12,GPIO16 (pin 36)=16,GPIO21 (pin 40)=21</FieldType>
<ParentId>0</ParentId>
<UpdateTime>2023-09-10T19:21:58.9506147Z</UpdateTime>
<UpdateTime>2023-09-14T16:36:23.0164225Z</UpdateTime>
</ModuleParameter>
<ModuleParameter>
<Name>ConfigureOptions.UpdateInterval</Name>
Expand All @@ -24,37 +32,45 @@
<ParentId>0</ParentId>
<UpdateTime>2023-09-10T19:18:16.8321314Z</UpdateTime>
</ModuleParameter>
<ModuleParameter>
<Name>Program.Event</Name>
<Value>MODULE_ADDED Components.DHT11:16</Value>
<Description />
<FieldType />
<ParentId>0</ParentId>
<UpdateTime>2023-09-14T16:36:26.6456265Z</UpdateTime>
</ModuleParameter>
<ModuleParameter>
<Name>Program.Notification</Name>
<Value>{"Title":"DHT-11 Sensor IoT","Message":"Data pin not selected. [program_configure,program_disable]"}</Value>
<Value>{"Title":"DHT-XX Sensor","Message":"Error.Opening pins requires root permissions."}</Value>
<Description />
<FieldType />
<ParentId>0</ParentId>
<UpdateTime>2023-09-10T19:22:39.0487788Z</UpdateTime>
<UpdateTime>2023-09-14T16:38:26.7744719Z</UpdateTime>
</ModuleParameter>
<ModuleParameter>
<Name>Program.Status</Name>
<Value>Running</Value>
<Description />
<FieldType />
<ParentId>0</ParentId>
<UpdateTime>2023-09-10T19:22:39.0384164Z</UpdateTime>
<UpdateTime>2023-09-14T16:36:26.6341266Z</UpdateTime>
</ModuleParameter>
<ModuleParameter>
<Name>Runtime.Error</Name>
<Value />
<Description />
<FieldType />
<ParentId>0</ParentId>
<UpdateTime>2023-09-10T19:21:58.5073868Z</UpdateTime>
<UpdateTime>2023-09-14T16:35:35.8762875Z</UpdateTime>
</ModuleParameter>
<ModuleParameter>
<Name>VirtualModule.ParentId</Name>
<Value>701</Value>
<Description />
<FieldType />
<ParentId>0</ParentId>
<UpdateTime>2023-09-10T19:22:18.661793Z</UpdateTime>
<UpdateTime>2023-09-14T16:37:57.6541104Z</UpdateTime>
</ModuleParameter>
<ModuleParameter>
<Name>Widget.DisplayModule</Name>
Expand All @@ -67,4 +83,4 @@
</Properties>
<Stores />
</Module>
</ArrayOfModule>
</ArrayOfModule>
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"repository":"homegenie","id":"homegenie-iot-net","version":"1.0.0","description":"GPIO, SPI, I2C examples based on .NET IoT libraries.\n\nhttps://learn.microsoft.com/en-us/dotnet/iot/intro","programs":[{"repository":"homegenie","packageId":"homegenie-iot-net","packageVersion":"1.0.0","hid":"701","id":"dht-11-sensor","required":false,"version":"1.0.0","checksum":"17935A6F55B291167A8255830C967134","installed":false},{"repository":"homegenie","packageId":"homegenie-iot-net","packageVersion":"1.0.0","hid":"702","id":"dht-22-sensor","required":false,"version":"1.0.1","checksum":"08ACE658D82D76A0F2813D8FDFC7C274","installed":false},{"repository":"homegenie","packageId":"homegenie-iot-net","packageVersion":"1.0.0","hid":"700","id":"gpio-pin","required":false,"version":"1.0.1","checksum":"7EFCCA46A94A656A65E9393588A20880","installed":false}],"modules":null,"groups":[],"schedules":[]}
{"repository":"homegenie","id":"homegenie-iot-net","version":"1.0.0","description":"GPIO, SPI, I2C examples based on .NET IoT libraries.\n\nhttps://learn.microsoft.com/en-us/dotnet/iot/intro","programs":[{"repository":"homegenie","packageId":"homegenie-iot-net","packageVersion":"1.0.0","hid":"701","id":"dht-xx-sensor","required":false,"version":"1.0.2","checksum":"CA36EB2FA7C8E903EC36CA6D9B2E7C05","installed":false},{"repository":"homegenie","packageId":"homegenie-iot-net","packageVersion":"1.0.0","hid":"700","id":"gpio-pin","required":false,"version":"1.0.2","checksum":"CE7FE0EF45504546FE390746848AEE9F","installed":false}],"modules":null,"groups":[],"schedules":[]}
Loading

0 comments on commit abb5c6a

Please sign in to comment.