Git Product home page Git Product logo

Comments (2)

ggeorgovassilis avatar ggeorgovassilis commented on September 4, 2024

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.

Hitech2207 avatar Hitech2207 commented on September 4, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.