smart bulb or switch.

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Gianni
Posts: 230
Joined: Saturday 21 July 2018 19:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Home@Belgium
Contact:

smart bulb or switch.

Post by Gianni »

hello

i'm still learning so hopefully you can help me out with this.
Pi with zwave stick.
Now i want to control my light in the house.
If i buy a smart light switch i need to put everywhere a N line to all my switches and lamps.
So i was thinking to buy some smart bulbs on wifi without(or with) wifi controller.
But then i cant use my standard switch no more because if i turn of the switch i cannot control the bulbs anymore.
So then i need to let the switch on all the time and power the bulbs on and off with the dashboard and that is also not a good solution.
I want to control my lights in the house but i also want to put them on and off with a switch

can you understand my problem a little bit :-p
Is there any other way's a can control my lights in the house without a N line?
or do i understand the whole thing wrong here :-)

grts gianni
User avatar
Eddiever
Posts: 105
Joined: Thursday 27 April 2017 20:32
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: The Netherlands (Hoogeveen)
Contact:

Re: smart bulb or switch.

Post by Eddiever »

If you want to control the lights with a switch but also through Wifi you should take a look at:
viewtopic.php?f=51&t=19920

I have a Sonoff (http://sonoff.itead.cc/en/products/resi ... noff-touch which works (but mine has been changed three times because it died, so no long lifespan).
Gianni
Posts: 230
Joined: Saturday 21 July 2018 19:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Home@Belgium
Contact:

Re: smart bulb or switch.

Post by Gianni »

the Sonoff or other switches was my plan to do but i don't have a N Line.
I only got a life line and switch line the N line goes direct to my lights.

grts Gianni
User avatar
bbqkees
Posts: 407
Joined: Sunday 17 August 2014 21:01
Target OS: Linux
Domoticz version: 4.1x
Location: The Netherlands
Contact:

Re: smart bulb or switch.

Post by bbqkees »

Usually it's not that hard to add the N line. Distances from the switch to the junction box are often quite short and it might only take an evening or Sunday to route those extra wires to every switch you need such a dimmer.
There is almost always someone in your family or circle of friends who can help you with this if you can't so it yourself.

I have all combinations of switches, Hue/wifi lights, external remotes etc but nothing is more convenient than a proper in-wall Z-Wave wall dimmer with normal LED lights in the ceiling.
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
Gianni
Posts: 230
Joined: Saturday 21 July 2018 19:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Home@Belgium
Contact:

Re: smart bulb or switch.

Post by Gianni »

that was my first thought to and put some extra wire's.
But my N line is connected from my garage to all my lights in the house.
I try to pull out the existing switch line to add some new but i have no clue how the ever wired this house.
But is it possible to extent the N line from my light and return to my switch?
This may maybe work.
User avatar
Eddiever
Posts: 105
Joined: Thursday 27 April 2017 20:32
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: The Netherlands (Hoogeveen)
Contact:

Re: smart bulb or switch.

Post by Eddiever »

It should not be any problem to extend the N line from your light to the switch. If there are only two wires from the switch to the light there should be enough space for an extra wire. Good luck!
Gianni
Posts: 230
Joined: Saturday 21 July 2018 19:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Home@Belgium
Contact:

Re: smart bulb or switch.

Post by Gianni »

i can cry .
just opened all the switches and all the cables are going down and not up.
I hope they are not connected somewhere in the wall.
User avatar
Eddiever
Posts: 105
Joined: Thursday 27 April 2017 20:32
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: The Netherlands (Hoogeveen)
Contact:

Re: smart bulb or switch.

Post by Eddiever »

What happens if you tried a "trekveer"(don't know the English version) from the light to the switch?

Is there any space left from the switches so, once you get a N wire to a switch you can pull it through to the other switches?

And what about your Fusebox, is this also in your garage?
Gianni
Posts: 230
Joined: Saturday 21 July 2018 19:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Home@Belgium
Contact:

Re: smart bulb or switch.

Post by Gianni »

een trekveer ken ik is this not al pull feather :-p in English :lol: :lol:
I'm have a few day's off tomorrow and i will investigate the whole thing.
Starting from the fuse box in the garage will be a mess i think.
This is a old house (40y).
I think i will first take my time to look at all the wire's in the switches and looking for the first switch where the N pass through.
He has to start somewhere ;-)

Keep you posted .

PS is there any other solution if i don't get the N line to the switches?
Some switches that's works with2 wire and battery powered?
poudenes
Posts: 667
Joined: Wednesday 08 March 2017 9:42
Target OS: Linux
Domoticz version: 3.8993
Location: Amsterdam
Contact:

Re: smart bulb or switch.

Post by poudenes »

I have Milight Bulbs everywhere in my house. And i use ESP8266 wall switches. Put them all into Domoticz.
Create dzVents Scripts for actions:

Wall Switch turn on > domoticz virtual switch goes on > Domoticz turn on the milight.
etc etc

Full control what you want to do with the switch and bulbs :)
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
User avatar
Eddiever
Posts: 105
Joined: Thursday 27 April 2017 20:32
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: The Netherlands (Hoogeveen)
Contact:

Re: smart bulb or switch.

Post by Eddiever »

@poudenes, but you have the N wire with all your switches. Gianni doesn't have this, thas his current (no phun intended) issue.

@Gianni, where does the power enter your house? Is that also in the garage?
Gianni
Posts: 230
Joined: Saturday 21 July 2018 19:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Home@Belgium
Contact:

Re: smart bulb or switch.

Post by Gianni »

yep also in the garage.
But i think i have good news.
just gemeten over the switches and i got everywhere 220v :D
On problem i think the electrician has used all his left over wire because i can not track witch wire go's to where :-)

just i quick thought
If Telenet(my isp) cut of my internet.
As long as my pi run and my zwave is up can i use my switches.
Even if my internel lan work without wan acces y can use my tablet with domoticz correct.
I only need my isp if i want to control from outside my house.
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: smart bulb or switch.

Post by waaren »

Gianni wrote: Wednesday 15 August 2018 10:32 If Telenet(my isp) cut of my internet.
As long as my pi run and my zwave is up can i use my switches.
Even if my internel lan work without wan acces y can use my tablet with domoticz correct.
I only need my isp if i want to control from outside my house.
as long as you have your own router that is correct.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
User avatar
bbqkees
Posts: 407
Joined: Sunday 17 August 2014 21:01
Target OS: Linux
Domoticz version: 4.1x
Location: The Netherlands
Contact:

Re: smart bulb or switch.

Post by bbqkees »

If you use Z-Wave the switches will always work on the connected lights even if the home network or Domoticz are down.
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
User avatar
philchillbill
Posts: 396
Joined: Monday 12 September 2016 13:47
Target OS: Linux
Domoticz version: beta
Location: Eindhoven. NL
Contact:

Re: smart bulb or switch.

Post by philchillbill »

Many zwave dimmers can survive without an N wire. How well that works depends on the type of lamp you are using them with because they like to have a small current flow through the load and that can cause e.g. LED lamps to glow a bit.

Best is to pull some extra N’s and do it ‘properly’.


Sent from my iPhone using Tapatalk
Alexa skills author: EvoControl, Statereport, MediaServer, LMS-lite
User avatar
Eddiever
Posts: 105
Joined: Thursday 27 April 2017 20:32
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: The Netherlands (Hoogeveen)
Contact:

Re: smart bulb or switch.

Post by Eddiever »

It is a hell of a job but I would suggest to remove all the wires and change them to the correct ones. I had the same in my house (but only in the attic). Every wire was the green/yellow one (protective earth).
Gianni
Posts: 230
Joined: Saturday 21 July 2018 19:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Home@Belgium
Contact:

Re: smart bulb or switch.

Post by Gianni »

Eddiever wrote: Wednesday 15 August 2018 12:57 Every wire was the green/yellow one (protective earth).
lol that's not so bad in my house :lol:
I got red,blue,grey,black white
My first thought was to replace every wire but that's a no go.
All the wires going down and not up and if i pull at some they cannot move.
I asked my neighbor a few house's further (we all have the same house) who did that a few years ago.
He ended up to remove everything ,put new tubes's in the wall's and rewired everything in the ceiling because all the cables broke when pulled or there a boxes in the wall hidden

in dutch because i dont know well how to explain in english
Hij heeft al het behangpapier mogen afdoen,nieuwe leidingen leggen in de muur en alles opnieuw bedraden tot aan de zekeringskast.
Dit budget heb ik momenteel niet omdat er nog te veel verbouwd wordt dit moment
Gianni
Posts: 230
Joined: Saturday 21 July 2018 19:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Home@Belgium
Contact:

Re: smart bulb or switch.

Post by Gianni »

ok i just made a small drawing.
My electricity skills are basic so i wane asked here
In the red square i the place i need to put my sonoff.
So any help how to wire the (wissel) switch to a single switch.

My thoughts are in marked in brown

Any suggestions are welcome.

No i need to buy some sonoff's to test(or if somebody have some seconds hands :-) ))
Sonoff.png
Sonoff.png (40.06 KiB) Viewed 2581 times
User avatar
Eddiever
Posts: 105
Joined: Thursday 27 April 2017 20:32
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: The Netherlands (Hoogeveen)
Contact:

Re: smart bulb or switch.

Post by Eddiever »

Damn those misleading colors ;)

So if I am reading this correctly your switch wire is white (I use black). One of the white wires is going to be the L(ive) wire (and connected to the blue wire) and the second one will be switch wire (continuing in Grey). Your neutral line is red, and is this in your wall socket where the sonoff should go?

So the second switch won't be used at all.

Then you are good to go!

In the Netherlands:
Brown is live wire
Blue is the neutral
Black is the switch wire
Green/Yellow is the earth/ground wire
Above does not apply on older homes ;)

But rewiring is indeed no option, to labor intensive and probably to expansive.
Gianni
Posts: 230
Joined: Saturday 21 July 2018 19:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Home@Belgium
Contact:

Re: smart bulb or switch.

Post by Gianni »

hmm have taking al my guts with me an put new wire's in 1 switch.
So far so good but is still missed something.

My setup in a normal situation is like this.
Naamloos.jpg
Naamloos.jpg (25.56 KiB) Viewed 2384 times


The problem is that they not switch on the Life line but on the Neutral in my situation
So my life line goes to the bulb and my neutral to the switch.
So how do i need to connect the sonoff in this situation?
Do i only need to connect my N to the Sonoff N en just a black 1 in the Lout ?

greets,
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest