Script to open a "Telnet" like session and send/recieve commands out to local Ip/Port via network. (see inside for more info)

Cancelled Posted 6 years ago Paid on delivery
Cancelled Paid on delivery

Our end goal is to be able to wake the Google Home device and make a request such as "Turn on Kitchen Lights" which will set off a sequence that eventually will end the text command, example, (btn 486) to our device from your telnet script that will launch a command to turn on our kitchen lights, which is what the btw 486 does.

We are needing to have a program that is currently running in a Raspberry Pi3 (Pi3) to open a Telnet session with our local device and pass incoming "text commands" to this device. We would prefer to have the commands sent to the device using TCP/IP as mentioned but would settle to have the commands sent out of a USB port on the Pi3 using a USB to serial adaptor that could be plugged directly into the local device.

The command will be coming from the [url removed, login to view] service where we have a applet that uses "Google Assistant" to trigger "Maker_Webhook" to send the embedded command entered into the Webhook portion of the Applet that has fields to enter the Static Ip address:port to our Pi3 running the HomeAssistant program. The script will reside in the HomeAssistant program and will receive and then forward the "text commands" as mentioned. We also need this script to receive the output from our device and forward it back my account in the [url removed, login to view] server. Here is a list of the site and products we are using in this project. We understand that we do not fully have a grasp on EXACTLY how to accomplish this and would also be looking for suggestions in making this project work.

Raspberry-Pi 3 running Hassbian [url removed, login to view]

[url removed, login to view]

[url removed, login to view]

[url removed, login to view]

[url removed, login to view]

[url removed, login to view]

Other sample info that could apply or help with our project.

---

MQTT - MQ Telemetry Transport

MQTT, allows various devices to speak to each other through a broker.

[url removed, login to view]

Here's a good video explanation of MQTT:

[url removed, login to view]

Mosquitto MQTT Broker:

Mosquitto is an open source message broker that implements the MQTT protocol.

[url removed, login to view]

---

Similar project MQTT Bridge to Lutron Homeworks

[url removed, login to view]

Updated information:
We think it would be possible for you to locate and install a Python Script that can be installed into our Pi3 that opens a "telnet" session to our Local device via tcp/ip. This script needs to capture data coming into the Pi3 (running Home assistant application under Hasbian 1.22) and forwarding to our Local Device.
The data will be originating from https://ifttt.com/maker_webhooks that will be directed to the Pi3.
The script will need to capture the response from the Local Device and forward the appreciate parts to a URL provided. We need a GUI to be able to make changes to this URL and also to see monitor the data flowing in and out of the Local Device. In this GUI we need to be able to enter data to push to the Local device and or to the URL listed as a means to test the application.

Home Automation Linux Python Raspberry Pi Software Architecture

Project ID: #13933335

About the project

10 proposals Remote project Active 6 years ago