Jump to content

Dujith

Member
  • Posts

    1,886
  • Joined

  • Last visited

Everything posted by Dujith

  1. Tinkering around to setup a old NUC as HyperV server and after getting the network drivers to work its operational. Now i wanted to add the server to my HyperV management on my windows 10 machine (which is also running a VM) Went through all the steps but cannot do winrm quickconfig as it is throwing up an arror regarding a public network. Thing is that its set to Private Name : Netwerk InterfaceAlias : vEthernet (HyperV Switch Extern) InterfaceIndex : 10 NetworkCategory : Private IPv4Connectivity : Internet IPv6Connectivity : NoTraffic Now i'm guessing the problem is the virtual interface, but searches about this have come up with 0 results. Anyone has this setup? or do i just need to ditch the hyperv service on my computer and just install the management part?
  2. Thats an equal or greater then statement. Not a if/then statement
  3. You might want to look into Nextcloud like you said, it will run on a NAS so thats prob your best bet. ISP wise: You will need to setup port forwarding and a DDNS service so whatever IP you have it will resolve to a DNS name. You can get those for free from NO-IP or any other DDNS.
  4. Depends on what u want to compare. If its a high vs low signal a simple AND gate would do the trick. But what are you trying todo?
  5. Get any other cooler then the stock one and you'll drop around 25 degrees. Stock coolers are just that bad from intel.
  6. They should have 0 impact on each other, no need to mount/unmount your HDD they can work in tandem without any issue.
  7. With TV's and other "smart" devices i found that making a SSID thats fixed to 1 frequentie (2,4Ghz or 5Ghz) works better then the standard ones where your router decides to which frequentie it will connect the device. Also this allows it to be on its own VLAN if needed. Most if not all routers support multiple SSID's
  8. You can see which of the 2 M2 slots is used in the bios. And yes, it just has 2. And it can matter as 1 is directly from the CPU and the other one is via the chipset which might impact speeds, as the chipset one is shared with all other IO connected to the chipset. And last: The one connected to the CPU is also dependent on your CPU speed wise. Could be PICE 3.0 or 4.0.
  9. This is normal, Corsair does not make the RAM chips and has different manufactures make them according to a spec. They should act the exact same way regardless, so i doubt your issues has anything todo with this.
  10. There are some ways. like running a client program like Hamachi, but everyone will need to run that. Better would be something like ngrok that creates a tunnel from your server to them and it will create an IP adres for you. Its dynamic tho, so each time you will need to update the IP adres to your mates. Also its pretty cheap to rent a minecraft server these days, or any vps. But i do get even the cheap options like 5 Dollars per month can be alot.
  11. If i could i would have, but i'm limited on how the KNX server presents its inputs and outputs in python. When i specify how much inputs and outputs a module will have it generates that code i posted in the first post. <?xml version="1.0" encoding="utf-8"?> <config> <modules> <module category="Logic2_0" context="Integra" id="10834" name="Integra" version="1.0"> <inputs> <input type="string" const_name="ipadres" init_value="192.168.1.50">IP adres</input> <input type="number" const_name="poort" init_value="7094">Poort</input> <input type="number" const_name="zone_status" init_value="0">Zone Status</input> <input type="number" const_name="zone1" init_value="1">Zone Nummer (1)</input> <input type="number" const_name="zone2" init_value="2">Zone Nummer (2)</input> <input type="number" const_name="zone3" init_value="3">Zone Nummer (3)</input> <input type="number" const_name="zone4" init_value="4">Zone Nummer (4)</input> <input type="number" const_name="zone5" init_value="5">Zone Nummer (5)</input> <input type="number" const_name="zone6" init_value="6">Zone Nummer (6)</input> <input type="number" const_name="zone7" init_value="7">Zone Nummer (7)</input> <input type="number" const_name="zone8" init_value="8">Zone Nummer (8)</input> <input type="number" const_name="zone9" init_value="9">Zone Nummer (9)</input> <input type="number" const_name="zone10" init_value="10">Zone Nummer (10)</input> </inputs> <outputs> <output type="number" const_name="ZoneStatus1" init_value="0">Zone Status (1)</output> <output type="number" const_name="ZoneStatus2" init_value="0">Zone Status (2)</output> <output type="number" const_name="ZoneStatus3" init_value="0">Zone Status (3)</output> <output type="number" const_name="ZoneStatus4" init_value="0">Zone Status (4)</output> <output type="number" const_name="ZoneStatus5" init_value="0">Zone Status (5)</output> <output type="number" const_name="ZoneStatus6" init_value="0">Zone Status (6)</output> <output type="number" const_name="ZoneStatus7" init_value="0">Zone Status (7)</output> <output type="number" const_name="ZoneStatus8" init_value="0">Zone Status (8)</output> <output type="number" const_name="ZoneStatus9" init_value="0">Zone Status (9)</output> <output type="number" const_name="ZoneStatus10" init_value="0">Zone Status (10)</output> </outputs> </module> </modules> </config> self.PIN_I_ZONE1 being the first one and so on. Then i need to use self._get_input_value(self.PIN_I_ZONE1) to get the value in that input, and i set an output with self._set_output_value(self.PIN_O_ZONESTATUS1, 1) Its just how the module works and i cannot change that part sadly. In the KNX server it look like this. So for a system with 100 zones i can pick out a few i need to switch on lights (Door opens at night so the hallway will come on for example)
  12. After doing some more searching it seems i can do something with exec, gonna be a bit hacky but it works for y in range(1,11): exec "yy = self._get_input_value(self.PIN_I_ZONE" + str(y) + ")" This is then followed by a check in the zones list i made for that value (numbers are unique so can do a simple in statement.) and with the y i can set the output number to on or off. There prob is a better way todo this, but then i would need to spend alot more time in python
  13. So for this KNX server (Gira Homeserver) its possible to write your own code, now there are limitations (1 being its Python 2.7 with a fixed library) And i want to simplify an action, but i'm not sure how. My python knowledge is low and most stuff i just google Now for the problem: Whenever i make a logic module i first have to specify the inputs and outputs. After that a program generates a py file in which i can enter my own code. The module i'm making will talk via TCP to a security system and tell me which zones are activated for all kinds of stuff i want todo with KNX (lights, visualization of doors on the touchscreen ect.) I get that data by a binaire number that tells me the zones activated: https://linustechtips.com/topic/1330742-decoding-a-tcp-response/?tab=comments#comment-14678574 again thanks to @Eigenvektor So i made a module that has 10 inputs and 10 ouputs (3 more inputs for the IP, port and trigger) and it generated this: class Integra10834(hsl20_3.BaseModule): def __init__(self, homeserver_context): hsl20_3.BaseModule.__init__(self, homeserver_context, "Integra") self.FRAMEWORK = self._get_framework() self.LOGGER = self._get_logger(hsl20_3.LOGGING_NONE,()) self.PIN_I_IPADRES=1 self.PIN_I_POORT=2 self.PIN_I_ZONE_STATUS=3 self.PIN_I_ZONE1=4 self.PIN_I_ZONE2=5 self.PIN_I_ZONE3=6 self.PIN_I_ZONE4=7 self.PIN_I_ZONE5=8 self.PIN_I_ZONE6=9 self.PIN_I_ZONE7=10 self.PIN_I_ZONE8=11 self.PIN_I_ZONE9=12 self.PIN_I_ZONE10=13 self.PIN_O_ZONESTATUS1=1 self.PIN_O_ZONESTATUS2=2 self.PIN_O_ZONESTATUS3=3 self.PIN_O_ZONESTATUS4=4 self.PIN_O_ZONESTATUS5=5 self.PIN_O_ZONESTATUS6=6 self.PIN_O_ZONESTATUS7=7 self.PIN_O_ZONESTATUS8=8 self.PIN_O_ZONESTATUS9=9 self.PIN_O_ZONESTATUS10=10 self.FRAMEWORK._run_in_context_thread(self.on_init) At some point i check the binary number to get the zones with this: for x in databin: if x == "1": zones.append(bit) else: if bit in zones: zones.remove(bit) bit += 1 databin being the stored binary number in a string. This way i get the zone number in zones Now i just have to compare the zone numbers i put into 1 of the 10 pins and trigger the output pin. But how can i do this in a better way then make 10 if statements?
  14. You wont blow up a led that soon most can block 5v no problem.
  15. Can u take a picture of the connectors on the motherboard? And what CPU went in it? Most Intel boards use the standard Frontpanel pins so should be easy to find
  16. What is the model of the motherboard? In most cases one of the pins on the motherboard is colored and the other one is white. (color being + and white -) Same goes for the cables to the front panel. 1 is colored and the other one usually black (color being + and black -)
  17. Some farmers would like to have a word with you And anyone wanting to service their own vehicle for example, or even a local garage can now service your car since they can get the tools to read out the damn computer without it being locked out. Thats what this is all about in the end. It took legislation to allow that, we had a period were you had to go to a approved dealer to even look at the car. Heck Tesla even got their own special part in this cuz they tried to go around the whole Motor Vehicle Owners' Right to Repair Act... Like Apple they tried to spin it so only they would be allowed to do any service on it.
  18. He has been on this for a very long time now. Years talking about repair, right to repair and many other subjects around this. He has testified and spoken publicly about this too (also for years) and now decided to act on his words and take these steps. either this is a loooooong con or he actually cares (and if you had followed him you would have know that).
  19. There is a converter cable for that. BUT it will only have 1 USB 3.0 enabled since thats a single USB C 3.2 connector. https://www.amazon.com/zdyCGTime-Front-Header-Extension-Motherboard/dp/B083S6WLHV/ref=sr_1_11?dchild=1&keywords=usb+3.2+to+3.0&qid=1620393738&sr=8-11
  20. You do have an iGPU its the GMA4500. But what kind of games are you looking at to play?
  21. We did that in W7 days. But profiles became to large and it seems W10 does not like this feature.
  22. This will be in the same building, no working from home for us. Plus storage is already handled by onedrive
  23. @jaslion Moving will be expensive enough without buying 6 good laptops, plus some kind of dock for the 2/3 screens everyone has now. We already have 4 decent computers, that would a waste tbh.
×