https://github.com/danedens/mqtt_repl_template
Template repo for my spread of Mqtt fed REPL sessions
https://github.com/danedens/mqtt_repl_template
Last synced: about 1 year ago
JSON representation
Template repo for my spread of Mqtt fed REPL sessions
- Host: GitHub
- URL: https://github.com/danedens/mqtt_repl_template
- Owner: DanEdens
- Created: 2020-11-24T19:32:24.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-11-24T19:32:29.000Z (over 5 years ago)
- Last Synced: 2025-02-10T02:41:21.191Z (over 1 year ago)
- Language: Python
- Size: 17.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

# Sitecheck Scanner
#### Intended for Geo-Instruments Internal use
[__Website__](https://github.com/DanEdens/Sitecheck_Scrapper)
__author__ = Dan Edens
__version__ = 0.8.2
[](https://sitecheck.readthedocs.io/en/latest/?badge=latest)
[](https://codeclimate.com/github/codeclimate/codeclimate/maintainability)
---
# Description
This tool provides troubleshooting tools for AMP and QV
Sensor status report in the form of an
[Adaptive Cards](https://docs.microsoft.com/en-us/power-automate/overview-adaptive-cards) to the user through Teams.

These Sensor status reports currently come in the form of an
[Adaptive Cards](https://docs.microsoft.com/en-us/power-automate/overview-adaptive-cards)
pushed to each user through Teams.
This aims to enable us to stay informed in the field, and ease the process of
requesting help when accessiblity is limited.

These cards can be setup with options for pipelining infomation to the right people,
keeping the team updated on site conditions.
# Installation
```
pip install sitecheck
```
'scanner' can now be called from anywhere. Read more about Argument options here
```
scanner --info -p upsondrivevms
```
---
# Power Automate Import instructions
## Flow script Import.
[Power Automate](https://docs.microsoft.com/en-us/power-automate/) is the platform that handles ingesting the cards from OneDrive and posting to chat.
It is an included part of our Microsoft package, and functions within the group security policies.
[Follow this link to import the included Package](https://us.flow.microsoft.com/manage/environments/Default-b44eb401-1c30-454c-ae94-78de08e2320c/flows/import)
---

Select [Scanner_flow.zip](Flow/Scanner_flow.zip) file from your desktop
---

Select "create as new" and add your email to the connectors.
---

Follow the link in the success message.
```
All package resouces were successfully imported.
The Flow has been created succesfully. Run the flow to make sure it's working. Open Flow
```

---
Change the value in "Intialize variable 2" to your Username.
Can be tested by running the following in cmd
```
echo %USERPROFILE%
```
---

This needs to match to your Onedrive path.
```
C:\Users\%USERPROFILE%\OneDrive - Keller\scanner
C:\Users\Dan.Edens\OneDrive - Keller\scanner
```
---
The user can than prompt the Flowbot to ingest the data via the Team's chat, review it,
and than pass it on to the Regional team.
```
run flow 1
```

---
Bugs should be reported on the [Issues board](https://geodev.geo-instruments.com/DanEdens/Sitecheck\_Scanner/-/issues)
so they can be addressed by the team.