Comments (2)
I assume you meant "raspbian". The "nc" (or netcat) programme can open network connections and send data over them which the hs100 script uses to communicate with the plug. It seems that nc is either not installed on your respberry or not in the "PATH" variable. I couldn't find instructions about how to install nc on raspbian, presumably because its installed there by default.
Try to type "nc" or "netcat" or "which nc" or "which netcat" on the raspberry command prompt to find out whether its installed already.
"apt-get install netcat" should, normally, install it.
Btw you don't need "sudo".
from linuxscripts.
Hi,
No Hassbian exist it is an Homeassistant image for Raspberry Pi.
But in my case i wanted to talk open the preconfigured image of Openhab which is called OpenHabian.
And it is true that a lot of packages are not installed like NC and other.
I think i will be switching again back to Jessie and install manually Openhab because i don't like Openhabian, too much issues..
Btw installing Netcat did the job it works like a charm using the command through terminal.
Now to make it work with Openhab 2 with Exec binding i need to find the correct command to make it work.
I find online the commando to make it work with the old version of openhab 1 and the old addon Exec binding but the commando's changed between version...
So still trying to figure it out.
But thank you for the quick reply and keep up the good job :)
from linuxscripts.
Related Issues (14)
- Curious how to modify it for own use. HOT 2
- hs100 Script doesn't check for 'discover' or 'list' HOT 4
- Nordvpn-Proxy - Add authentication with Roundrobin HOT 2
- check/status broken (with latest firmware?) HOT 5
- hs100 script: incorporate netstat timeout HOT 2
- hs100: new schedule_off command (code included)
- License for repository
- Linux docs HOT 2
- Linux HOT 1
- working for hs110 too HOT 8
- Works on HS200 too HOT 1
- binary characters found in status payload HOT 4
- Command check always returns off although connection successful HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from linuxscripts.