ibaton / bukkit-openhab-plugin

Eclipse Public License 2.0
5 stars 5 forks source link

Sign with switch underneath does not affect the outgoing redstone until .... #4

Open hagbrain21 opened 5 years ago

hagbrain21 commented 5 years ago

Hi, first thank you fo the plugin on both sides! I have a little problem: If I place a switch and then a sign above it like the pictures show, I can add the switch in openhab. Then I place redstone outgoing from the switch to make the state visible. If I now switch the "sign" from openhab, nothing happens (redstone still not glowing, but in openhab its "true"). But if I enlarge the redstone one more field in any direction, the redstone begin to glow and now represent the state in openhab. Same if I switch from "1" to "0". First I have to place down a new restone line part. Use openhab 2, spigot 1.13.2, not other mods/plugins.

Is there a specifiy version that I have to choose to get it working? Where is my mistake? Signals from Minecraft -> openhab works like a charm.

kind regards

Michael

ibaton commented 5 years ago

Thanks for reporting the problem Michael. It sounds like a bug to me. I'll take a look at it.

lmore377 commented 4 years ago

I have the same bug here. As a workaround if you have command blocks enabled, you can put this command in a repeating command block /setblock 41 70 125 minecraft:air destroy and replace the numbers with the coordinates of a block next to a piece of redstone.

Edit like 3 months later: Just realized that I should explain that this works because in Minecraft air is actually a block so by destroying it you're updating the blocks around it. Also whatever coordinates you put in you won't be able to put a block there anymore because it'll immediately get destroyed

McMacaber commented 4 years ago

@lmore377 Many thanks for this hint. Finally being able to impress the kids by disabling the street-lights via alexa-via hue-emulation via openhab via minecraft-binding is just .. WOW. @ibaton: thank you for this plugin. If you ever decide to come back, despite the bug regarding openHab => Minecraft: We need a filter for signs without any text. :D