Home Applications appmsw-warm-home

appmsw-warm-home

This application is not supported by InterSystems Corporation. Please be notified that you use it at your own risk.
5
1 reviews
0
Awards
207
Views
0
IPM installs
0
0
Details
Releases  (1)
Reviews  (1)
Issues
Articles  (1)
This app has a demo View
Example for creating a user interface for a smart home

What's new in this version

Initial Release

apptools-warm-home

OEX
Demo
license
Quality Gate Status

Template and examples for creating a user interface for a smart home

The project includes a python program for Raspberry Pi to read the temperature sensor and send a message to the telebot

Installation with ZPM

If ZPM the current instance is not installed, then in one line you can install the latest version of ZPM.

set $namespace="%SYS", name="DefaultSSL" do:'##class(Security.SSLConfigs).Exists(name) ##class(Security.SSLConfigs).Create(name) set url="https://pm.community.intersystems.com/packages/zpm/latest/installer" Do ##class(%Net.URLParser).Parse(url,.comp) set ht = ##class(%Net.HttpRequest).%New(), ht.Server = comp("host"), ht.Port = 443, ht.Https=1, ht.SSLConfiguration=name, st=ht.Get(comp("path")) quit:'st $System.Status.GetErrorText(st) set xml=##class(%File).TempFilename("xml"), tFile = ##class(%Stream.FileBinary).%New(), tFile.Filename = xml do tFile.CopyFromAndSave(ht.HttpResponse.Data) do ht.%Close(), $system.OBJ.Load(xml,"ck") do ##class(%File).Delete(xml)

If ZPM is installed, then ZAPM can be set with the command

zpm:USER>install apptools-warmhome

Installation with Docker

Prerequisites

Make sure you have git and Docker desktop installed.

Installation

Clone/git pull the repo into any local directory

$ git clone https://github.com/SergeyMi37/appmsw-warm-home.git

Open the terminal in this directory and run:

$ docker-compose build
  1. Run the IRIS container with your project:
$ docker-compose up -d

How to Test it

Open IRIS terminal:

$ docker-compose exec iris iris session iris
USER>
USER>zpm
zpm:USER>install appmsw-warm-home
Made with
Install
zpm install apptools-warmhome download archive
Version
1.0.018 Jun, 2023
ObjectScript quality test
Category
Technology Example
Works with
InterSystems IRIS
First published
18 Jun, 2023
Last checked by moderator
27 Jun, 2023Works